15 lines · plain
1# Verify that we support x86 old pic style internal calls accordingly in2# relocation mode3#4 5REQUIRES: x86_64-linux6 7RUN: %clang -O3 %S/Inputs/internalcall-main.c %S/Inputs/internalcall.S -Wl,-q \8RUN: -o %t.exe9RUN: llvm-bolt %t.exe -o %t --relocs --lite=010RUN: %t | FileCheck %s11 12CHECK: Case 1: Result is: DEADBEEF13CHECK: Case 2: Result is: DEADBEEF14CHECK: Case 3: Result is: DEADBEEF15