1 // This test checks that the PLT symbols are properly recognized
3 // The test is using bfd linker, since it may add versioning string
4 // to the symbol name e.g. memcpy@@GLIBC_2.17
6 // RUN: yaml2obj %p/Inputs/plt-gnu-ld.yaml &> %t.exe
7 // RUN: llvm-bolt %t.exe -o %t.bolt.exe --use-old-text=0 --lite=0 \
8 // RUN: --print-cfg --print-only=main | FileCheck %s