diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2009-08-07 19:54:29 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-08-07 19:54:29 +0000 |
commit | 6bf87df57935dff8bedaa23ccf5af1f3d1f2c1fb (patch) | |
tree | cf893da6a2280f96419b7672e9f4ae0dd6d0583c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b64ec07ea6f65dfbf33afa6fda6de4a6fa14e2a7 (diff) | |
download | bcm5719-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