xref: /llvm-project/llvm/test/CodeGen/X86/compiler_used.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s
2
3@X = internal global i8 4
4@Y = internal global i32 123
5@Z = internal global i8 4
6
7@llvm.used = appending global [1 x ptr] [ ptr @Z ], section "llvm.metadata"
8@llvm.compiler.used = appending global [2 x ptr] [ ptr @X, ptr @Y], section "llvm.metadata"
9
10; CHECK-NOT: .no_dead_strip
11; CHECK: .no_dead_strip	_Z
12; CHECK-NOT: .no_dead_strip
13