Skip to content

Commit a308d42

Browse files
author
Ash Dobrescu
authored
Remove -no-pie case from indirect-goto-relocs.test (#133067)
This test was added in PR: #120267. The -no-pie case in the above mentioned test needs to be removed as subsequent changes have caused it to fail.
1 parent 420c056 commit a308d42

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bolt/test/indirect-goto-relocs.test

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,7 @@
44
RUN: %clang %cflags -pie %S/Inputs/indirect_goto.c -o %t.exe -Wl,-q
55
RUN: llvm-bolt %t.exe -o %t.bolt --print-cfg | FileCheck --check-prefix=CHECK-PIE %s
66

7-
RUN: %clang %cflags -no-pie %S/Inputs/indirect_goto.c -o %t.exe -Wl,-q
8-
RUN: llvm-bolt %t.exe -o %t.bolt --print-cfg | FileCheck --check-prefix=CHECK-NO-PIE %s
9-
107
// Check that BOLT registers extra entry points for dynamic relocations with PIE.
118
CHECK-PIE: Binary Function "main" after building cfg {
129
CHECK-PIE: IsMultiEntry: 1
1310
CHECK-PIE: Secondary Entry Points : {{.*}}
14-
15-
// Check that BOLT does not register extra entry points for dynamic relocations
16-
// without PIE
17-
CHECK-NO-PIE: Binary Function "main" after building cfg {
18-
CHECK-NO-PIE-NOT: IsMultiEntry: 1
19-
CHECK-NO-PIE-NOT: Secondary Entry Points : {{.*}}

0 commit comments

Comments
 (0)