[PATCH] D34753: [Support] - Add bad alloc error handler for handling allocation malfunctions

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 11:36:53 PDT 2017


MatzeB added a comment.

Please, ignore the first part in my last reply that proposes immediately throwing an exception. I realized that we cannot compile that line while -fno-exceptions is enabled. Hence I proposed a different solution that could go as part of `llvm::report_bad_alloc_error()` (as I proposed later in the review).


https://reviews.llvm.org/D34753





More information about the llvm-commits mailing list