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 | ae7ff8b0c64753337d5c63c36e700e9b31c50043 (patch) | |
| tree | 8618cd5a851c26b0917e2e5288970ce67f127e8b /llvm | |
| parent | 9a1e91b107323a82b07737d9ef2f562cd966dedb (diff) | |
| download | bcm5719-llvm-ae7ff8b0c64753337d5c63c36e700e9b31c50043.tar.gz bcm5719-llvm-ae7ff8b0c64753337d5c63c36e700e9b31c50043.zip | |
test that the no_dead_strip directive is emitted on darwin-x86
llvm-svn: 30607
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/CodeGen/X86/darwin-no-dead-strip.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/darwin-no-dead-strip.ll b/llvm/test/Regression/CodeGen/X86/darwin-no-dead-strip.ll new file mode 100644 index 00000000000..4a594c6b43a --- /dev/null +++ b/llvm/test/Regression/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*) ] |

