aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorCasey Carter <Casey@Carter.net>2019-05-02 21:19:41 +0000
committerCasey Carter <Casey@Carter.net>2019-05-02 21:19:41 +0000
commitb574e112177dbca8eae689d2324d8e5bb7138a06 (patch)
tree5cfc4066df64b8836b66008d26e0ea657dc1a88d /llvm/lib/Object/WindowsResource.cpp
parentfc40cbd9d8c63e65eed3590ba925321afe782e1d (diff)
downloadllvm-b574e112177dbca8eae689d2324d8e5bb7138a06.zip
llvm-b574e112177dbca8eae689d2324d8e5bb7138a06.tar.gz
llvm-b574e112177dbca8eae689d2324d8e5bb7138a06.tar.bz2
[libc++][test] Remove non-portable assumption that thread's constructor allocates with ::new
Drive-by: * Fix potential race between check and update of `throw_one` in `operator new` * Fix latent bug in `operator delete`, which shouldn't decrement `outstanding_new` when passed a null pointer * Specifically catch the expected `bad_alloc` in `main` instead of `...` Differential Revision: https://reviews.llvm.org/D50860 llvm-svn: 359827
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions