llvm-project/compiler-rt/test/lsan
Alexey Samsonov 89d7ff5de6 [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

llvm-svn: 253576
2015-11-19 17:18:02 +00:00
..
TestCases [LSan] Fix tests with some libstdc++ implementations. 2015-11-19 17:18:02 +00:00
CMakeLists.txt Revert "Revert "[CMake] LSan is not actually available on Darwin."" 2015-06-19 01:34:06 +00:00
lit.common.cfg [LSan][MIPS64] Enable LSan testing for mips64/mips64el 2015-02-19 09:14:43 +00:00
lit.site.cfg.in Simplify lit test configs for LSan and UBSan by using a generic config 2014-02-18 08:56:49 +00:00