[llvm-dev] [ADT] PutPointer() in FoldingSet looks strange.

Eugene Kosov via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 18 06:41:43 PST 2016


Hi.

Most probably its a bug. Because we use some random garbage for hashing instead of a real pointer value. Also, we put 16 bytes instead of 8 byte of pointer size which is strange too. Here is my fix http://reviews.llvm.org/D17377 Please, review it and commit if all is fine because I have no commit rights. Thanks for your time. 

--
Eugene


More information about the llvm-dev mailing list