Res is already a ExprResult, so if we call .get() we 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)
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo