Fix a FIXME. _foo.eh symbols are currently always exported so that the linker
[oota-llvm.git] / test / CodeGen / X86 / personality.ll
index 853cf11f9add0f268f38c74ef7c3def3fa91ef57..6789bb0c0fbe2a5c860ee367b40d1d9c9b47e564 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc < %s -mtriple=x86_64-apple-darwin9 | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s -check-prefix=X32
 ; PR1632
 
 define void @_Z1fv() {
@@ -37,5 +38,13 @@ declare void @__gxx_personality_v0()
 
 declare void @__cxa_end_catch()
 
-; X64: Leh_frame_common_begin:
+; X64: Leh_frame_common_begin0:
 ; X64: .long   ___gxx_personality_v0@GOTPCREL+4
+
+; X32: Leh_frame_common_begin0:
+; X32: .long   L___gxx_personality_v0$non_lazy_ptr-
+; ....
+
+; X32: .section        __IMPORT,__pointers,non_lazy_symbol_pointers
+; X32: L___gxx_personality_v0$non_lazy_ptr:
+; X32:   .indirect_symbol ___gxx_personality_v0