aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlexey Lapshin <a.v.lapshin@mail.ru>2022-07-25 20:08:46 +0300
committerAlexey Lapshin <a.v.lapshin@mail.ru>2022-07-26 15:25:51 +0300
commit0d191b7553e7efbf7ce57c77274b83c15b681933 (patch)
treecf60c95ae49bade6b027b9e53dff2a555a48fb46 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent418d2338f9bad03e002ca1a301ce537102a2f142 (diff)
downloadllvm-0d191b7553e7efbf7ce57c77274b83c15b681933.zip
llvm-0d191b7553e7efbf7ce57c77274b83c15b681933.tar.gz
llvm-0d191b7553e7efbf7ce57c77274b83c15b681933.tar.bz2
[Debuginfo][llvm-dwarfutil] Add check for unsupported debug sections.
Current DWARFLinker implementation does not support some debug sections (mainly DWARF v5 sections). This patch adds diagnostic for such sections. The warning would be displayed for critical(such that could not be removed) sections and the source file would be skipped. Other unsupported sections would be removed and warning message should be displayed. The zero exit status would be returned for both cases. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D123623
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions