diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-17 04:17:54 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-17 04:17:54 +0000 |
| commit | 122a3a8e6fc82d095153924e625055662e30d777 (patch) | |
| tree | a02307c672462708220e2d8caf92675d938e0fbd /clang/lib/CodeGen/CGClass.cpp | |
| parent | ab6151d6c4d753728a02ed9db8273c4e45533178 (diff) | |
| download | bcm5719-llvm-122a3a8e6fc82d095153924e625055662e30d777.tar.gz bcm5719-llvm-122a3a8e6fc82d095153924e625055662e30d777.zip | |
Fix undefined behavior in debug info emission: operator* on WeakVH returns a
reference, so &* on an empty WeakVH binds a reference to a dereferenced null
pointer. So don't do that; we have a perfectly good implicit conversion to
Value*.
llvm-svn: 162079
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions

