]> granicus.if.org Git - clang/commit
Bury leaked pointers in a global array to silence a leak detector in --disable-free...
authorKostya Serebryany <kcc@google.com>
Fri, 27 Dec 2013 08:11:08 +0000 (08:11 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 27 Dec 2013 08:11:08 +0000 (08:11 +0000)
commit89be6ed38a376e9076768d56d6fa9712fcb0657e
tree65acc7c34cff04ce3db00e18d7b8950baab58fd8
parent0cbb292275df4288257b893304dd9cbb0abe069e
Bury leaked pointers in a global array to silence a leak detector in --disable-free mode

Summary:
This is an alternative to http://llvm-reviews.chandlerc.com/D2475
suggested by Chandler.

Reviewers: chandlerc, rnk, dblaikie

CC: cfe-commits, earthdok
Differential Revision: http://llvm-reviews.chandlerc.com/D2478

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198073 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/CompilerInstance.h
include/clang/Frontend/Utils.h
lib/CodeGen/BackendUtil.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendAction.cpp
lib/FrontendTool/ExecuteCompilerInvocation.cpp
tools/driver/cc1_main.cpp