summaryrefslogtreecommitdiff
path: root/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-05-03 09:16:57 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-05-03 09:16:57 +0000
commit5baeb1d06e5d0f15c9e529838aa98e46f1e23efa (patch)
tree6d043bd6be8bf74838994a31e6222eadadd0eb95 /lib/Serialization/ModuleManager.cpp
parent589e7ecc89ab442e83703fa572ef046946c01df1 (diff)
downloadclang-5baeb1d06e5d0f15c9e529838aa98e46f1e23efa.tar.gz
clang-5baeb1d06e5d0f15c9e529838aa98e46f1e23efa.tar.bz2
clang-5baeb1d06e5d0f15c9e529838aa98e46f1e23efa.tar.xz
[leaks] Re-shuffle code such that we don't create a basic block for
initializing an array unless we need it. Specifically, position the creation of a new basic block after we've checked all of the cases that bypass the need for it. Fixes another leak in test/CodeGen* found by LSan. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions