[llvm] Remove -no-pie case from indirect-goto-relocs.test (PR #133067)
Ash Dobrescu via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 26 03:47:47 PDT 2025
https://github.com/Rin18 created https://github.com/llvm/llvm-project/pull/133067
This test was added in PR: https://github.com/llvm/llvm-project/pull/120267. The -no-pie case in the above mentioned test needs to be removed as subsequent changes have caused it to fail.
>From 5b08618dbd477c0002c234d3b91842597ec0f2b0 Mon Sep 17 00:00:00 2001
From: Ash Dobrescu <ash.dobrescu at arm.com>
Date: Wed, 26 Mar 2025 10:43:35 +0000
Subject: [PATCH] Remove -no-pie case from indirect-goto-relocs.test
This test was added in PR: https://github.com/llvm/llvm-project/pull/120267.
The -no-pie case in the above mentioned test needs to be removed
as subsequent changes have caused it to fail.
---
bolt/test/indirect-goto-relocs.test | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/bolt/test/indirect-goto-relocs.test b/bolt/test/indirect-goto-relocs.test
index 30175dcb0b9c9..25da99b3ad3a9 100644
--- a/bolt/test/indirect-goto-relocs.test
+++ b/bolt/test/indirect-goto-relocs.test
@@ -4,16 +4,7 @@
RUN: %clang %cflags -pie %S/Inputs/indirect_goto.c -o %t.exe -Wl,-q
RUN: llvm-bolt %t.exe -o %t.bolt --print-cfg | FileCheck --check-prefix=CHECK-PIE %s
-RUN: %clang %cflags -no-pie %S/Inputs/indirect_goto.c -o %t.exe -Wl,-q
-RUN: llvm-bolt %t.exe -o %t.bolt --print-cfg | FileCheck --check-prefix=CHECK-NO-PIE %s
-
// Check that BOLT registers extra entry points for dynamic relocations with PIE.
CHECK-PIE: Binary Function "main" after building cfg {
CHECK-PIE: IsMultiEntry: 1
CHECK-PIE: Secondary Entry Points : {{.*}}
-
-// Check that BOLT does not register extra entry points for dynamic relocations
-// without PIE
-CHECK-NO-PIE: Binary Function "main" after building cfg {
-CHECK-NO-PIE-NOT: IsMultiEntry: 1
-CHECK-NO-PIE-NOT: Secondary Entry Points : {{.*}}
More information about the llvm-commits
mailing list