[DWP][DWARF] Detect and error on debug info offset overflow
authorAlexander Yermolovich <ayermolo@fb.com>
Fri, 22 Jul 2022 20:10:13 +0000 (13:10 -0700)
committerAlexander Yermolovich <ayermolo@fb.com>
Tue, 26 Jul 2022 15:18:59 +0000 (08:18 -0700)
commitf8df8114715bb18272e36d15b664b930dc79112f
tree3ec6fb0648a9364b1ca49905987b16b7396ba628
parent2eade1dba4a8d6e1c6867e9127bcd88cf4e55976
[DWP][DWARF] Detect and error on debug info offset overflow

Right now we silently overflow uint32_t for debug_indfo sections. Added a check
and error out.

Differential Revision: https://reviews.llvm.org/D130395
llvm/lib/DWP/DWP.cpp