make this testcase check darwin32 also
authorChris Lattner <sabre@nondot.org>
Thu, 17 Sep 2009 23:56:41 +0000 (23:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Sep 2009 23:56:41 +0000 (23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82182 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/personality.ll

index 853cf11f9add0f268f38c74ef7c3def3fa91ef57..a4d72a722d1f5ad30c018c7d4dc92cdbc426b08a 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() {
@@ -39,3 +40,10 @@ declare void @__cxa_end_catch()
 
 ; X64: Leh_frame_common_begin:
 ; X64: .long   ___gxx_personality_v0@GOTPCREL+4
+
+; X32: .section        __IMPORT,__pointers,non_lazy_symbol_pointers
+; X32: L___gxx_personality_v0$non_lazy_ptr:
+; X32:   .indirect_symbol ___gxx_personality_v0
+; ....
+; X32: Leh_frame_common_begin:
+; X32: .long   L___gxx_personality_v0$non_lazy_ptr-
\ No newline at end of file