diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-11-19 17:18:02 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-11-19 17:18:02 +0000 |
commit | 653078b1212eb5f696fcb92d27f4ae1202a373d6 (patch) | |
tree | 08a3153f6df58c72513b410a42d0607f89a3e329 /test/tsan/ignore_lib0.cc | |
parent | 09e0defb19924e9a36b0a5380b50690f179d2e14 (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