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

Maksim Panchenko via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 27 13:51:15 PDT 2025


================
@@ -1689,6 +1689,8 @@ bool BinaryFunction::scanExternalRefs() {
     // Create relocation for every fixup.
     for (const MCFixup &Fixup : Fixups) {
       std::optional<Relocation> Rel = BC.MIB->createRelocation(Fixup, *BC.MAB);
+      // Can be skipped under the right circumstances.
----------------
maksfb wrote:

Maybe we can say here "can be skipped in case of the overflow"?

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


More information about the llvm-branch-commits mailing list