mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-23 11:43:32 +00:00
[BOLT][TEST] Add -no-pie to two tests
Missed these two tests in D123329 in a rebase.
This commit is contained in:
parent
6345d7f2a8
commit
04641b2121
@ -1,6 +1,6 @@
|
||||
// This test checks that the ifuncs works after bolt.
|
||||
|
||||
// RUN: %clang %cflags %s -fuse-ld=lld \
|
||||
// RUN: %clang %cflags -no-pie %s -fuse-ld=lld \
|
||||
// RUN: -o %t.exe -Wl,-q
|
||||
// RUN: llvm-bolt %t.exe -o %t.bolt.exe -use-old-text=0 -lite=0
|
||||
// RUN: %t.bolt.exe | FileCheck %s
|
||||
|
@ -1,7 +1,7 @@
|
||||
// This test checks that the pointers to PLT are properly updated.
|
||||
// The test is using lld linker.
|
||||
|
||||
// RUN: %clang %cflags %p/../Inputs/plt.c -fuse-ld=lld \
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user