14 lines · plain
1# Verify that instrumentation pass handles internal calls2 3REQUIRES: x86_64-linux,bolt-runtime4 5RUN: %clang -O3 %S/Inputs/internalcall-main.c %S/Inputs/internalcall.S -Wl,-q \6RUN: -o %t.exe7RUN: llvm-bolt --instrument %t.exe --instrumentation-file=%t.fdata \8RUN: -o %t -relocs -lite=09RUN: %t | FileCheck %s10 11CHECK: Case 1: Result is: DEADBEEF12CHECK: Case 2: Result is: DEADBEEF13CHECK: Case 3: Result is: DEADBEEF14