1 ; RUN: rm -rf %t && mkdir -p %t
2 ; RUN: grep -v "module asm" %s | llvm-as -o %t/embedded.bc
3 ; RUN: llc -I=%t -filetype=obj -o %t/obj.o %s
4 ; RUN: llvm-ar crs %t/lib.a %t/obj.o
5 ; RUN: llvm-nm -m --no-llvm-bc %t/lib.a | FileCheck %s
7 target triple = "x86_64-apple-macosx10.11"
9 @q = global i32 1, align 4
10 ; CHECK-NOT: {{-+}} (LTO,DATA) external _q
11 ; CHECK: {{[[:xdigit:]]+}} (__DATA,__data) external _q
13 module asm ".section __LLVM,__bitcode"
14 module asm ".incbin \22embedded.bc\22"