[libunwind] 84647ff - [libunwind][test] remember_state_leak.pass.sh.s: link with -no-pie
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 25 11:56:01 PST 2022
Author: Fangrui Song
Date: 2022-02-25T19:55:56Z
New Revision: 84647ff38ca76136e3c4be80cf6785a78188d33a
URL: https://github.com/llvm/llvm-project/commit/84647ff38ca76136e3c4be80cf6785a78188d33a
DIFF: https://github.com/llvm/llvm-project/commit/84647ff38ca76136e3c4be80cf6785a78188d33a.diff
LOG: [libunwind][test] remember_state_leak.pass.sh.s: link with -no-pie
The no-pic large code model style `movabsq $callback, %rsi` does not work with -pie.
Added:
Modified:
libunwind/test/remember_state_leak.pass.sh.s
Removed:
################################################################################
diff --git a/libunwind/test/remember_state_leak.pass.sh.s b/libunwind/test/remember_state_leak.pass.sh.s
index f18d1768e7c4..590653e2b10d 100644
--- a/libunwind/test/remember_state_leak.pass.sh.s
+++ b/libunwind/test/remember_state_leak.pass.sh.s
@@ -1,5 +1,5 @@
# REQUIRES: target={{x86_64-.+-linux-gnu}}
-# RUN: %{build}
+# RUN: %{build} -no-pie
# RUN: %{run}
# The following assembly is a translation of this code:
More information about the cfe-commits
mailing list