You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
393 B

# Inputs generated with:
# echo 'int hello() { return 5; }' > test.c
# clang -O -fembed-bitcode -c -o macho-bitcode-x86_64.o test.c
# clang -O -fembed-bitcode-marker -c -o macho-bitcode-marker-x86_64.o test.c
RUN: llvm-nm -a %p/Inputs/macho-bitcode-x86_64.o \
RUN: | FileCheck %s
RUN: llvm-nm -a %p/Inputs/macho-bitcode-marker-x86_64.o \
RUN: | FileCheck %s
CHECK: T _hello