brintos

brintos / llvm-project-archived public Read only

0
0
Text · 396 B · ecd74e9 Raw
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