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