7 lines
303 B
Plaintext
7 lines
303 B
Plaintext
# RUN: yaml2obj %p/Inputs/plt-mold.yaml &> %t.exe
|
|
# RUN: llvm-bolt %t.exe --print-cfg --print-only=main.* -o %t.out | FileCheck %s
|
|
|
|
## Check that llvm-bolt correctly parses PLT created by mold linker.
|
|
## The only call instruction in main() should be a call to printf() in PLT.
|
|
CHECK: callq "printf$plt
|