[DWP][DWARF] Detect and error on debug info offset overflow
authorAlexander Yermolovich <ayermolo@fb.com>
Mon, 18 Jul 2022 22:12:07 +0000 (15:12 -0700)
committerAlexander Yermolovich <ayermolo@fb.com>
Fri, 22 Jul 2022 17:45:28 +0000 (10:45 -0700)
commit417738d3a66cc65f3fc58ab9535c17fac1ddaff1
treec4330cde068745bf1e01f81529e52daf7a056974
parent37502e042ff007972db0a03dd8c5e293c3219de3
[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/D130046
llvm/lib/DWP/DWP.cpp