summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-05-21 16:34:48 +0000
committerNate Begeman <natebegeman@mac.com>2008-05-21 16:34:48 +0000
commit8f83fc4d9b8161717f939f27cf824dc094d26e6c (patch)
tree39b0e75303098439e9119eefa9eaba7028614145 /clang/lib/CodeGen/CodeGenModule.cpp
parentf025a8bc1c78b7a56c9fb2589305ec6dc8f4e331 (diff)
downloadbcm5719-llvm-8f83fc4d9b8161717f939f27cf824dc094d26e6c.tar.gz
bcm5719-llvm-8f83fc4d9b8161717f939f27cf824dc094d26e6c.zip
Fix a couple issues with the JIT and multiple modules:
1. The "JITState" object creates a PassManager with the ModuleProvider that the jit is created with. If the ModuleProvider is removed and deleted, the PassManager is invalid. 2. The Global maps in the JIT were not invalidated with a ModuleProvider was removed. This could lead to a case where the Module would be freed, and a new Module with Globals at the same addresses could return invalid results. llvm-svn: 51384
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud