1 # This reproduces a bug with instrumentation crashes on internal call
3 # REQUIRES: x86_64-linux,bolt-runtime,target=x86_64{{.*}}
5 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o
6 # Delete our BB symbols so BOLT doesn't mark them as entry points
7 # RUN: llvm-strip --strip-unneeded %t.o
8 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
10 # RUN: llvm-bolt --instrument %t.exe --relocs -o %t.out
14 .type _start, %function
19 .size _start, .-_start
37 movabs $
0xdeadbeef,%rax
56 .type _fini, %function