summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-08-17 04:17:54 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-08-17 04:17:54 +0000
commit122a3a8e6fc82d095153924e625055662e30d777 (patch)
treea02307c672462708220e2d8caf92675d938e0fbd /clang/lib/CodeGen/CGCall.cpp
parentab6151d6c4d753728a02ed9db8273c4e45533178 (diff)
downloadbcm5719-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/CGCall.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud