xref: /llvm-project/bolt/test/X86/plt-mold.test (revision 20204db50389d9c2b7796722d69e9c94a6a37be5)
1*20204db5SMaksim Panchenko# RUN: yaml2obj %p/Inputs/plt-mold.yaml &> %t.exe
2*20204db5SMaksim Panchenko# RUN: llvm-bolt %t.exe --print-cfg --print-only=main.* -o %t.out | FileCheck %s
3*20204db5SMaksim Panchenko
4*20204db5SMaksim Panchenko## Check that llvm-bolt correctly parses PLT created by mold linker.
5*20204db5SMaksim Panchenko## The only call instruction in main() should be a call to printf() in PLT.
6*20204db5SMaksim PanchenkoCHECK:  callq "printf$plt
7