1 ## Check that llvm-bolt correctly identifies functions in .plt.sec
2 # RUN: yaml2obj %p/Inputs/plt-sec.yaml &> %t.exe
3 # RUN: llvm-bolt %t.exe --print-cfg --print-only=foo -o %t.out | FileCheck %s
5 ## Check that llvm-bolt correctly identifies functions in .plt.got that has
6 ## endbr instruction at the start of its entries.
7 # RUN: yaml2obj %p/Inputs/plt-got-sec.yaml &> %t.exe
8 # RUN: llvm-bolt %t.exe --print-cfg --print-only=foo -o %t.out | FileCheck %s
10 ## The only call instruction in function foo() should be a call to PLT.