[llvm] 'Soft Stop' solution on offset overflow issue: By Produceing a truncated but valid DWP file, discarding any DWO files that would not fit within the 32 bit/4GB limits of the format. (PR #71902)

Jinjie Huang via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 20:37:51 PST 2023


================
@@ -613,6 +623,7 @@ Error write(MCStreamer &Out, ArrayRef<std::string> Inputs,
   uint32_t ContributionOffsets[8] = {};
   uint16_t Version = 0;
   uint32_t IndexVersion = 0;
+  bool SeeOverflowFlag = false;
----------------
Labman-001 wrote:

now use 'AnySectionOverflow' instead

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


More information about the llvm-commits mailing list