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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 12:28:15 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();
----------------
maksfb wrote:

Good point. Let me think about it.

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


More information about the llvm-commits mailing list