aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-06-28 21:58:57 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-06-28 21:58:57 +0000
commit4b450685d3364db59dc58f5b10aa53ecf2126e1b (patch)
treebcf0808b3c032aaaaaece7233a343a2384d120e1 /llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp
parent7c525903efd25646f3d4d8f3888d9ed8b49ad843 (diff)
downloadllvm-4b450685d3364db59dc58f5b10aa53ecf2126e1b.zip
llvm-4b450685d3364db59dc58f5b10aa53ecf2126e1b.tar.gz
llvm-4b450685d3364db59dc58f5b10aa53ecf2126e1b.tar.bz2
[Sanitizers] Operator new() interceptors always die on allocation error
Summary: Operator new interceptors behavior is now controlled by their nothrow property as well as by allocator_may_return_null flag value: - allocator_may_return_null=* + new() - die on allocation error - allocator_may_return_null=0 + new(nothrow) - die on allocation error - allocator_may_return_null=1 + new(nothrow) - return null Ideally new() should throw std::bad_alloc exception, but that is not trivial to achieve, hence TODO. Reviewers: eugenis Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D34731 llvm-svn: 306604
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp')
0 files changed, 0 insertions, 0 deletions