llvm/bolt/test/RISCV/plt-gnu-ld.test

// This test checks that the PLT symbols are properly recognized
// by the BOLT tool.

// RUN: yaml2obj %p/Inputs/plt-gnu-ld.yaml &> %t.exe
// RUN: llvm-bolt %t.exe -o %t.bolt.exe --print-cfg --print-only=main \
// RUN:   | FileCheck %s

// CHECK: Binary Function "main" after building cfg {
// CHECK: auipc ra, puts@PLT