[PATCH] Use properly aligned pointers for empty/tombstone DenseMap keys.
Alexey Samsonov
vonosmas at gmail.com
Thu Aug 28 13:40:45 PDT 2014
Implement a limited fix to the problem, suggested by Richard Smith:
redefine DenseMapInfo<AssertingVH<T>>::isEqual to ensure it doesn't
perform pointer downcasts: fake pointer values for empty/tombstone keys
may not be properly aligned.
http://reviews.llvm.org/D4976
Files:
include/llvm/IR/ValueHandle.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4976.13057.patch
Type: text/x-patch
Size: 984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140828/a8fca857/attachment.bin>
More information about the llvm-commits
mailing list