[llvm] [BOLT] Fix references in ignored functions in CFG state (PR #140678)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 00:25:41 PDT 2025


================
@@ -3433,6 +3433,7 @@ void RewriteInstance::disassembleFunctions() {
         BC->outs() << "BOLT-INFO: could not disassemble function " << Function
                    << ". Will ignore.\n";
       // Forcefully ignore the function.
+      Function.scanExternalRefs();
----------------
paschalis-mpeis wrote:

Hey Maksim, thanks for looking into this.
Okay, let's leave it out of this patch as a lower priority.

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


More information about the llvm-commits mailing list