[llvm] Solve llvm-dwp overflow problem, skipped over 4GB '.dwo' files (PR #71902)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 12:30:38 PST 2023


================
@@ -201,7 +201,8 @@ static Error addAllTypesFromDWP(
     MCStreamer &Out, MapVector<uint64_t, UnitIndexEntry> &TypeIndexEntries,
     const DWARFUnitIndex &TUIndex, MCSection *OutputTypes, StringRef Types,
     const UnitIndexEntry &TUEntry, uint32_t &TypesOffset,
-    unsigned TypesContributionIndex, bool ContinueOnCuIndexOverflow) {
+    unsigned TypesContributionIndex, bool ContinueOnCuIndexOverflow,
+    bool &SeeOverflowFlag, bool SoftStopOnCuIndexOverflow) {
----------------
dwblaikie wrote:

(could make the user-facing flag work the same way too, a single flag with 3 options - keep the old `--continue-on-cu-index-overflow` around for backwards compatibility as well, though)

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


More information about the llvm-commits mailing list