aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2020-03-04 20:53:05 +0700
committerIgor Kudrin <ikudrin@accesssoftek.com>2020-03-05 10:54:43 +0700
commitcc61283bf6c4cb88d23c6cbdb58b8c7481709b7e (patch)
tree9d80ac0a7f8e5e1197e5aca9f3c37e2f75c36d67 /llvm/lib/Object/MachOObjectFile.cpp
parent3906ae387f0775dfe4426e4336748269fafbd190 (diff)
downloadllvm-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