diff options
author | Kamil Rytarowski <n54@gmx.com> | 2018-12-29 00:32:07 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2018-12-29 00:32:07 +0000 |
commit | 646c130a18d1cbe8ace850ffb4bc1e65cb5cd666 (patch) | |
tree | 6da5baaf6b4d4ea1f6d2958113deac00f4dec37b /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | adb5f1e3b56b94e560581fae9bd1b1cbda5588c5 (diff) | |
download | llvm-646c130a18d1cbe8ace850ffb4bc1e65cb5cd666.zip llvm-646c130a18d1cbe8ace850ffb4bc1e65cb5cd666.tar.gz llvm-646c130a18d1cbe8ace850ffb4bc1e65cb5cd666.tar.bz2 |
Add support for background thread on NetBSD in ASan
Summary:
Change the point of calling MaybeStartBackgroudThread() from AsanInitInternal()
that is too early on NetBSD to a constructor (with aid of C++11 lambda construct).
Enable the code for background thread as is for NetBSD.
Rename test/sanitizer_common/TestCases/Linux/hard_rss_limit_mb_test.cc
to test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cc and allow runs
on NetBSD. This tests passes correctly.
Reviewers: vitalybuka, joerg, eugenis
Reviewed By: eugenis
Subscribers: eugenis, kubamracek, fedor.sergeev, llvm-commits, mgorny, #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D55887
llvm-svn: 350139
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions