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