[llvm] [BOLT] Fix long jump negative offset issue. (PR #67132)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 06:39:37 PDT 2023


================
@@ -0,0 +1,30 @@
+# This test checks long call negative offset boundary(0x8000000) for aarch64.
+
+# REQUIRES: system-linux
+
+# RUN: %clang %cflags %s -o %t.exe -nostartfiles -fuse-ld=lld -Wl,-z,now,-q \
----------------
yota9 wrote:

please use llvm-mc like in other tests to compile the object file. Also please rename main to _start. Also is -Wl,-z option really needed? -Wl,-q would be enough I think

https://github.com/llvm/llvm-project/pull/67132


More information about the llvm-commits mailing list