Steven Wu | 5a59354 | 2019-03-21 21:01:31 +0000 | [diff] [blame^] | 1 | # Inputs generated with: |
2 | # echo 'int hello() { return 5; }' > test.c | ||||
3 | # clang -O -fembed-bitcode -c -o macho-bitcode-x86_64.o test.c | ||||
4 | # clang -O -fembed-bitcode-marker -c -o macho-bitcode-marker-x86_64.o test.c | ||||
5 | |||||
6 | RUN: llvm-nm -a %p/Inputs/macho-bitcode-x86_64.o \ | ||||
7 | RUN: | FileCheck %s | ||||
8 | |||||
9 | RUN: llvm-nm -a %p/Inputs/macho-bitcode-marker-x86_64.o \ | ||||
10 | RUN: | FileCheck %s | ||||
11 | |||||
12 | CHECK: T _hello |