summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-08-07 19:54:29 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-08-07 19:54:29 +0000
commit6bf87df57935dff8bedaa23ccf5af1f3d1f2c1fb (patch)
treecf893da6a2280f96419b7672e9f4ae0dd6d0583c /clang/lib/CodeGen/CodeGenModule.cpp
parentb64ec07ea6f65dfbf33afa6fda6de4a6fa14e2a7 (diff)
downloadbcm5719-llvm-6bf87df57935dff8bedaa23ccf5af1f3d1f2c1fb.tar.gz
bcm5719-llvm-6bf87df57935dff8bedaa23ccf5af1f3d1f2c1fb.zip
To catch bugs like the one fixed in
http://llvm.org/viewvc/llvm-project?view=rev&revision=78127, I'm changing the ExecutionEngine's global mappings to hold AssertingVH<const GlobalValue>. That way, if unregistering a mapping fails to actually unregister it, we'll get an assert. Running the jit nightly tests didn't uncover any actual instances of the problem. This also uncovered the fact that AssertingVH<const X> didn't work, so I fixed that too. llvm-svn: 78400
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud