commit | faddb71dd9f3a14611898d01f93c0d93e777ac87 | [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 | 3d06d4618f9e78307f18ba60b3c5a5eadf7bd576 | |
parent | ae3e2f02439f7172b8b60b0d8ab204049ca5ad7a [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/llvm/trunk@337759 91177308-0d34-0410-b5e6-96231b3b80d8