aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/FileOutputBufferTest.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-08-12 23:55:38 +0000
committerReid Kleckner <rnk@google.com>2015-08-12 23:55:38 +0000
commit7d0f22e5585f41a18c2118ba07a256850f307d1a (patch)
tree8dfae6f7429ca289294c1ea5ae95ff884aad0492 /llvm/unittests/Support/FileOutputBufferTest.cpp
parent85220d021878c4627f69752ff1c411d4f08320c0 (diff)
downloadllvm-7d0f22e5585f41a18c2118ba07a256850f307d1a.zip
llvm-7d0f22e5585f41a18c2118ba07a256850f307d1a.tar.gz
llvm-7d0f22e5585f41a18c2118ba07a256850f307d1a.tar.bz2
[windows] Fix deadlock on mmap failure due to CHECK recursion
Summary: Printing a stacktrace acquires a spinlock, and the sanitizer spinlocks aren't re-entrant. Avoid the problem by reusing the logic we already have on Posix. This failure mode is already exercised by the existing mmap_limit_mb.cc test case. It will be enabled in a forthcoming change, so I didn't add standalone tests for this change. Reviewers: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11999 llvm-svn: 244840
Diffstat (limited to 'llvm/unittests/Support/FileOutputBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions