aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2020-06-11 22:23:27 +0100
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2020-06-11 22:23:33 +0100
commit385e5f7e147fcf792085b365cc48380850612025 (patch)
treebd2fb39267a53d44d5882a0d8af78e3da2be7144 /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
parent432f20bc1884897688986cecaa1818ffdb34cbbf (diff)
downloadllvm-385e5f7e147fcf792085b365cc48380850612025.zip
llvm-385e5f7e147fcf792085b365cc48380850612025.tar.gz
llvm-385e5f7e147fcf792085b365cc48380850612025.tar.bz2
Fix incorrect call to ExprResult::get()
Res is already a ExprResult, so if we call .get(), we will convert an ExprError() result into an unset result. I discovered this in our downstream CHERI target where this resulted in a crash due to a NULL-dereference. It appears that this was introduced in SVN revision 201788 (8690a6860a45ba36e39b4ff0dbe434195e125d11) Reviewed By: Anastasia Differential Revision: https://reviews.llvm.org/D81608
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions