[llvm] [BOLT] Add 'constant island' check in scanExternalRefs to prevent a crash when the function is disassembled fail or skipped (PR #165577)

Gergely Bálint via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 05:12:56 PDT 2025


================
@@ -4,6 +4,7 @@
 # RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
 # RUN: %clang %cflags %t.o -pie -Wl,-q -o %t.exe
 # RUN: llvm-bolt %t.exe -o %t.bolt 2>&1 | FileCheck %s
+# RUN: llvm-bolt %t.exe -o %t.bolt -skip-funcs=caller 2>&1 | FileCheck %s
----------------
bgergely0 wrote:

Thanks!

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


More information about the llvm-commits mailing list