[llvm-branch-commits] [llvm] [BOLT] Skip out-of-range pending relocations (PR #116964)

Paschalis Mpeis via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 27 05:51:39 PDT 2025


================
@@ -197,6 +218,10 @@ void BinarySection::flushPendingRelocations(raw_pwrite_stream &OS,
   }
 
   clearList(PendingRelocations);
+
+  if (SkippedPendingRelocations > 0)
+    LLVM_DEBUG(dbgs() << "BOLT-INFO: Skipped " << SkippedPendingRelocations
+                      << " pending relocations as they were out of range\n");
----------------
paschalis-mpeis wrote:

Done.

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


More information about the llvm-branch-commits mailing list