1 # Verify that instrumentation pass handles internal calls
3 REQUIRES: x86_64-linux,bolt-runtime
5 RUN: %clang -O3 %S/Inputs/internalcall-main.c %S/Inputs/internalcall.S -Wl,-q \
7 RUN: llvm-bolt --instrument %t.exe --instrumentation-file=%t.fdata \
8 RUN: -o %t -relocs -lite=0
11 CHECK: Case 1: Result is: DEADBEEF
12 CHECK: Case 2: Result is: DEADBEEF
13 CHECK: Case 3: Result is: DEADBEEF