[llvm] [BOLT][AArch64] Check Last Element Instead of Returning `nullptr` in `lookupStubFromGroup` (PR #114015)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 03:39:01 PST 2024


================
@@ -0,0 +1,28 @@
+# REQUIRES: system-linux, asserts
+# RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
+# RUN: %clang %cflags -O0 -fPIC -pie %t.o -o %t.exe -nostdlib -Wl,-q
----------------
paschalis-mpeis wrote:

May simplify  RUN line a bit, eg `-fPIC -pie -nostdlib` are already part of BOLT/AArch64 config.

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


More information about the llvm-commits mailing list