xref: /llvm-project/bolt/test/RISCV/plt-gnu-ld.test (revision f873029386dd415cd9caa78f600a593d9570c9ae)
1// This test checks that the PLT symbols are properly recognized
2// by the BOLT tool.
3
4// RUN: yaml2obj %p/Inputs/plt-gnu-ld.yaml &> %t.exe
5// RUN: llvm-bolt %t.exe -o %t.bolt.exe --print-cfg --print-only=main \
6// RUN:   | FileCheck %s
7
8// CHECK: Binary Function "main" after building cfg {
9// CHECK: auipc ra, puts@PLT
10