summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-01-17 23:08:46 +0000
committerJim Grosbach <grosbach@apple.com>2012-01-17 23:08:46 +0000
commit3fa6dcfebb2c5f7bc4edc95d7cc7143ccc53d514 (patch)
tree2d70ab77b887705ec286c08cd765eb2b72f230ac /clang/lib/CodeGen/CodeGenModule.cpp
parentc72a807039a2926168992679cd211b286b0a2412 (diff)
downloadbcm5719-llvm-3fa6dcfebb2c5f7bc4edc95d7cc7143ccc53d514.tar.gz
bcm5719-llvm-3fa6dcfebb2c5f7bc4edc95d7cc7143ccc53d514.zip
Fix MCJIT memory leak of owned TargetMachine.
The JIT is expected to take ownership of the TM that's passed in. The MCJIT wasn't freeing it, resulting in leaks. llvm-svn: 148356
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud