[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 00:17:00 PST 2023


Labman-001 wrote:

I have merged the 'soft-stop' and 'continue' operations into the 'OnCuIndexOverflow' enumeration. 
I also reused the original 'continue-on-cu-index-overflow' option. When this option is not specified, the operation executes a 'hard-stop'. When its value= 'soft-stop', it generates a 'best effort' DWP file. When its value = 'continue', it continues to generate a DWP file with overflowed offset information.

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


More information about the llvm-commits mailing list