1 # This reproduces a bug with instrumentation crashes on internal call
3 # REQUIRES: system-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: ld.lld %t.o -o %t.exe -q -shared -fini=_fini
9 # RUN: llvm-bolt --instrument %t.exe --relocs -o %t.out
13 .type _start, %function
27 lea var@GOTPCREL
(%rip
),%rax
42 .size _start, .-_start
45 .type _fini, %function