Skip to content
Commit 122a3a8e authored by Richard Smith's avatar Richard Smith
Browse files

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
parent ab6151d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment