diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2020-03-04 20:53:05 +0700 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2020-03-05 10:54:43 +0700 |
commit | cc61283bf6c4cb88d23c6cbdb58b8c7481709b7e (patch) | |
tree | 9d80ac0a7f8e5e1197e5aca9f3c37e2f75c36d67 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 3906ae387f0775dfe4426e4336748269fafbd190 (diff) | |
download | llvm-cc61283bf6c4cb88d23c6cbdb58b8c7481709b7e.zip llvm-cc61283bf6c4cb88d23c6cbdb58b8c7481709b7e.tar.gz llvm-cc61283bf6c4cb88d23c6cbdb58b8c7481709b7e.tar.bz2 |
[DebugInfo] Avoid crashing on an invalid section identifier.
A DWARFSectionKind is read from input. It is not validated on parsing,
so an unexpected value may result in reaching llvm_unreachable() in
DWARFUnitIndex::getColumnHeader() when dumping the index section.
Differential Revision: https://reviews.llvm.org/D75609
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions