brintos

brintos / llvm-project-archived public Read only

0
0
Text · 441 B · f8f300f Raw
13 lines · plain
1// This test checks that the PLT symbols are properly recognized2// by the BOLT tool.3// The test is using bfd linker, since it may add versioning string4// to the symbol name e.g. memcpy@@GLIBC_2.175 6// RUN: yaml2obj %p/Inputs/plt-gnu-ld.yaml &> %t.exe7// RUN: llvm-bolt %t.exe -o %t.bolt.exe --use-old-text=0 --lite=0 \8// RUN:   --print-cfg --print-only=main | FileCheck %s9 10// CHECK: memcpy@PLT11// CHECK: memset@PLT12// CHECK: printf@PLT13