diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-26 03:44:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-26 03:44:20 +0000 |
commit | 6961329c47faebdd2feea78d966996de2582b400 (patch) | |
tree | 5f9d487cc933acbf79ff5240e35c7e8a2154d61d /test/CodeGen/X86/darwin-no-dead-strip.ll | |
parent | 681764b20c3418b4af783a84eb2a68145d69a9d7 (diff) | |
download | llvm-6961329c47faebdd2feea78d966996de2582b400.tar.gz llvm-6961329c47faebdd2feea78d966996de2582b400.tar.bz2 llvm-6961329c47faebdd2feea78d966996de2582b400.tar.xz |
test that the no_dead_strip directive is emitted on darwin-x86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30607 91177308-0d34-0410-b5e6-96231b3b80d8
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 0000000000..4a594c6b43 --- /dev/null +++ b/test/CodeGen/X86/darwin-no-dead-strip.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc | grep no_dead_strip + +target endian = little +target pointersize = 32 +target triple = "i686-apple-darwin8.7.2" +%x = weak global int 0 ; <int*> [#uses=1] +%llvm.used = appending global [1 x sbyte*] [ sbyte* cast (int* %x to sbyte*) ] |