aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
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
commit89d7ff5de676464f33136778b1bf87ee945bf688 (patch)
tree880d509d6b2e7209e4a20121ae3ea90b7888044f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentf6508db485936dd22bc0661d1f3eaf26e352c56d (diff)
downloadllvm-89d7ff5de676464f33136778b1bf87ee945bf688.zip
llvm-89d7ff5de676464f33136778b1bf87ee945bf688.tar.gz
llvm-89d7ff5de676464f33136778b1bf87ee945bf688.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions