1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker@X = internal global i8 4 4*9880d681SAndroid Build Coastguard Worker@Y = internal global i32 123 5*9880d681SAndroid Build Coastguard Worker@Z = internal global i8 4 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker@llvm.used = appending global [1 x i8*] [ i8* @Z ], section "llvm.metadata" 8*9880d681SAndroid Build Coastguard Worker@llvm.compiler.used = appending global [2 x i8*] [ i8* @X, i8* bitcast (i32* @Y to i8*)], section "llvm.metadata" 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: .no_dead_strip 11*9880d681SAndroid Build Coastguard Worker; CHECK: .no_dead_strip _Z 12*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: .no_dead_strip 13