[PATCH] D34753: [Support] - Add bad alloc error handler for handling allocation malfunctions
Klaus Kretzschmar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 10 07:25:48 PDT 2017
kkretzsch updated this revision to Diff 105847.
kkretzsch removed a reviewer: llvm-commits.
kkretzsch added a subscriber: llvm-commits.
kkretzsch added a comment.
Thanks Reid for reviewing. I updated this patch according to your review comments. In addition I noticed that the report_fatal_error function does allocations inside and is therefore not suitable to be called in the report_bad_alloc_error function. So I changed the default behavior to call an assert instead.
I do not have commit rights to push this change to llvm trunk. Therefore I need someone who is doing this for me.
Thanks,
Klaus
https://reviews.llvm.org/D34753
Files:
include/llvm/Support/ErrorHandling.h
lib/Support/ErrorHandling.cpp
lib/Support/Mutex.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34753.105847.patch
Type: text/x-patch
Size: 4851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170710/f8b064ec/attachment.bin>
More information about the llvm-commits
mailing list