aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/SymbolicFile.cpp
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2018-03-07 15:22:58 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2018-03-07 15:22:58 +0000
commitcb4c19f3157b02e6d0169949626767f9051c76b6 (patch)
treeba033439a4d37013497eabb0eee555b41bca6868 /llvm/lib/Object/SymbolicFile.cpp
parentcb9e89c39b07efa6ba0dfbd24fc1b3d63d564d7f (diff)
downloadllvm-cb4c19f3157b02e6d0169949626767f9051c76b6.zip
llvm-cb4c19f3157b02e6d0169949626767f9051c76b6.tar.gz
llvm-cb4c19f3157b02e6d0169949626767f9051c76b6.tar.bz2
[ELF] Prevent crash when reporting errors if debug line cannot be parsed
LLD uses the debug info and debug line sections to determine the location of e.g. references to undefined symbols, when producing error messages. In the event that debug info was present, but debug line parsing failed for some reason, then a nullptr would end up being dereferenced by the location-lookup code. Differential Revision: https://reviews.llvm.org/D44205 Reviewers: grimar llvm-svn: 326899
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions