[llvm] [BOLT] Fix a wrong compiler option in test (PR #74420)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 02:57:54 PST 2023
https://github.com/linsinan1995 updated https://github.com/llvm/llvm-project/pull/74420
>From 82fa18ba7e0b9d4fb27a9645af772f4980a47ec2 Mon Sep 17 00:00:00 2001
From: Sinan Lin <sinan.lin at linux.alibaba.com>
Date: Tue, 5 Dec 2023 14:51:23 +0800
Subject: [PATCH] [BOLT] Fix a wrong compiler option in test
---
bolt/test/runtime/AArch64/instrumentation-ind-call.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bolt/test/runtime/AArch64/instrumentation-ind-call.c b/bolt/test/runtime/AArch64/instrumentation-ind-call.c
index 76ee8c05dd299..f9056da333b4e 100644
--- a/bolt/test/runtime/AArch64/instrumentation-ind-call.c
+++ b/bolt/test/runtime/AArch64/instrumentation-ind-call.c
@@ -14,7 +14,7 @@ int main() {
/*
REQUIRES: system-linux,bolt-runtime
-RUN: %clang %cflags %s -o %t.exe -Wl,-q -nopie -fpie
+RUN: %clang %cflags %s -o %t.exe -Wl,-q -no-pie -fpie
RUN: llvm-bolt %t.exe --instrument --instrumentation-file=%t.fdata \
RUN: -o %t.instrumented
More information about the llvm-commits
mailing list