diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2018-03-28 18:22:40 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2018-03-28 18:22:40 +0000 |
commit | 10f50a44c1fa25463b0cb819f424abfbca336c9e (patch) | |
tree | c1513755b95befd6ad96adb89ecc0e57e32d3bca /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b873748e151272bfe5cd3eebcf8965bb200397aa (diff) | |
download | bcm5719-llvm-10f50a44c1fa25463b0cb819f424abfbca336c9e.tar.gz bcm5719-llvm-10f50a44c1fa25463b0cb819f424abfbca336c9e.zip |
[ASan] Report proper ASan error on allocator failures instead of CHECK(0)-ing
Summary:
Currently many allocator specific errors (OOM, for example) are reported as
a text message and CHECK(0) termination, not stack, no details, not too
helpful nor informative. To improve the situation, ASan detailed errors were
defined and reported under the appropriate conditions.
Issue: https://github.com/google/sanitizers/issues/887
Reviewers: eugenis
Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D44404
llvm-svn: 328722
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions