xref: /aosp_15_r20/external/llvm/test/Bitcode/weak-macho-3.5.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN:  llvm-dis < %s.bc| FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; weak-macho-3.5.ll.bc was generated by passing this file to llvm-as-3.5
4*9880d681SAndroid Build Coastguard Worker; The test checks that LLVM does not place weak GlobalVariables into Comdats for
5*9880d681SAndroid Build Coastguard Worker; macho object files, they don't support it.
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Workertarget triple = "x86_64-apple-macosx10.9.0"
8*9880d681SAndroid Build Coastguard Worker; CHECK: target triple = "x86_64-apple-macosx10.9.0"
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker@x = weak global i32 0
11*9880d681SAndroid Build Coastguard Worker; CHECK: @x = weak global i32 0{{$}}
12