10 lines · plain
1// This test checks that the PLT symbols are properly recognized2// by the BOLT tool.3 4// RUN: yaml2obj %p/Inputs/plt-gnu-ld.yaml &> %t.exe5// RUN: llvm-bolt %t.exe -o %t.bolt.exe --print-cfg --print-only=main \6// RUN: | FileCheck %s7 8// CHECK: Binary Function "main" after building cfg {9// CHECK: auipc ra, puts@PLT10