mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +00:00
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
This commit is contained in:
parent
681764b20c
commit
6961329c47
7
test/CodeGen/X86/darwin-no-dead-strip.ll
Normal file
7
test/CodeGen/X86/darwin-no-dead-strip.ll
Normal file
@ -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*) ]
|
Loading…
Reference in New Issue
Block a user