summaryrefslogtreecommitdiff
path: root/test/tsan/ignore_lib0.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-11-19 17:18:02 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-11-19 17:18:02 +0000
commit653078b1212eb5f696fcb92d27f4ae1202a373d6 (patch)
tree08a3153f6df58c72513b410a42d0607f89a3e329 /test/tsan/ignore_lib0.cc
parent09e0defb19924e9a36b0a5380b50690f179d2e14 (diff)
[LSan] Fix tests with some libstdc++ implementations.
Summary: Newer libstdc++ has global pool, which is filled with objects allocated during libstdc++ initialization, and never released. Using use_globals=0 in the lit tests results in these objects being treated as leaks. Fix this by porting several tests to plain C, and introducing a simple sanity test case for __lsan::ScopedDisabler. Reviewers: kcc, ygribov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14798 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/ignore_lib0.cc')
0 files changed, 0 insertions, 0 deletions