commit | 64f6c6a2f01d748bb4c3c9cb7c2b6b77045d4182 | [log] [tgz] |
---|---|---|
author | Erik Pilkington <erik.pilkington@gmail.com> | Mon Jul 23 22:23:04 2018 +0000 |
committer | Erik Pilkington <erik.pilkington@gmail.com> | Mon Jul 23 22:23:04 2018 +0000 |
tree | c8afa30a63c889e0ee99502266c6beab05bfa640 | |
parent | 363301929037f7ca8575e835be410151ccece134 [diff] |
[demangler] call terminate() if allocation failed We really should set *status to memory_alloc_failure, but we need to refactor the demangler a bit to properly propagate the failure up the stack. Until then, its better to explicitly terminate then rely on a null dereference crash. rdar://31240372 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@337759 91177308-0d34-0410-b5e6-96231b3b80d8