diff options
Diffstat (limited to 'test/CodeGen/X86/darwin-no-dead-strip.ll')
-rw-r--r-- | test/CodeGen/X86/darwin-no-dead-strip.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/darwin-no-dead-strip.ll b/test/CodeGen/X86/darwin-no-dead-strip.ll new file mode 100644 index 0000000..452d1f8 --- /dev/null +++ b/test/CodeGen/X86/darwin-no-dead-strip.ll @@ -0,0 +1,7 @@ +; RUN: llc < %s | grep no_dead_strip + +target datalayout = "e-p:32:32" +target triple = "i686-apple-darwin8.7.2" +@x = weak global i32 0 ; <i32*> [#uses=1] +@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ] ; <[1 x i8*]*> [#uses=0] + |