diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2018-03-07 15:22:58 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2018-03-07 15:22:58 +0000 |
commit | cb4c19f3157b02e6d0169949626767f9051c76b6 (patch) | |
tree | ba033439a4d37013497eabb0eee555b41bca6868 /llvm/utils/lit/tests/googletest-upstream-format.py | |
parent | cb9e89c39b07efa6ba0dfbd24fc1b3d63d564d7f (diff) | |
download | bcm5719-llvm-cb4c19f3157b02e6d0169949626767f9051c76b6.tar.gz bcm5719-llvm-cb4c19f3157b02e6d0169949626767f9051c76b6.zip |
[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/utils/lit/tests/googletest-upstream-format.py')
0 files changed, 0 insertions, 0 deletions