[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


================
@@ -11,3 +11,5 @@ def execFileNames : S<"e", "Specify the executable/library files to get the list
 def outputFileName : S<"o", "Specify the output file.">, MetaVarName<"<filename>">;
 def continueOnCuIndexOverflow: F<"continue-on-cu-index-overflow", "This turns an error when offset for .debug_*.dwo sections "
                                          "overfolws into a warning.">, MetaVarName<"<filename>">;
+def softStopOnCuIndexOverflow: F<"soft-stop-on-cu-index-overflow", "This turns to make a best effort dwp when offset for "
+                                        ".debug_*.dwo sections overfolws into a warning.">, MetaVarName<"<filename>">;
----------------
dwblaikie wrote:

"This produces a truncated but valid DWP file, discarding any DWO files that would not fit within the 32 bit/4GB limits of the format." perhaps

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


More information about the llvm-commits mailing list