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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 1 22:56:45 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:

@paschalis-mpeis, I took a stab at isolating/moving calls to `scanExternalRefs()` and it turned out to be more complicated. I would rather do it in a separate PR that includes disambiguated the `setIgnored()` interface.

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


More information about the llvm-commits mailing list