[PATCH] D47327: Check that memory allocation succeeds before use.
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 24 10:11:14 PDT 2018
sanjoy added a comment.
In https://reviews.llvm.org/D47327#1111214, @trixirt wrote:
> I will change this to try-catch
We don't use exceptions in LLVM.
Can you elaborate on what the bigger picture is? LLVM is *not* robust against allocation failures, and fixing just this bit won't change anything.
Repository:
rL LLVM
https://reviews.llvm.org/D47327
More information about the llvm-commits
mailing list