Welcome to mirror list, hosted at ThFree Co, Russian Federation.

plt-lld.test « runtime « test « bolt - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f2c4babd5e3d57b8e1d5f84590288bf538f02cd8 (plain)
1
2
3
4
5
6
7
8
9
// This test checks that the pointers to PLT are properly updated.
// The test is using lld linker.

// RUN: %clang %cflags -no-pie %p/../Inputs/plt.c -fuse-ld=lld \
// RUN:    -o %t.lld.exe -Wl,-q
// RUN: llvm-bolt %t.lld.exe -o %t.lld.bolt.exe -use-old-text=0 -lite=0
// RUN: %t.lld.bolt.exe | FileCheck %s

// CHECK: Test completed