[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)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 07:17:16 PST 2023


================
@@ -61,7 +67,7 @@ struct CompileUnitIdentifiers {
 };
 
 Error write(MCStreamer &Out, ArrayRef<std::string> Inputs,
-            bool ContinueOnCuIndexOverflow);
+            const OnCuIndexOverflow &OverflowOptValue);
----------------
ayermolo wrote:

Why is this passed by reference?

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


More information about the llvm-commits mailing list