diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-01-09 23:17:25 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-01-09 23:17:25 +0000 |
commit | 29e464f0df3a4a539d1926868e516950ee1a8e68 (patch) | |
tree | 9bd95965abd5bb346d95fc1d05f4371f2e8058bd /llvm/lib/Bitcode/Reader/BitcodeReader.h | |
parent | 55acbc071ca4b82c87f2253cca65d218ab464d83 (diff) | |
download | bcm5719-llvm-29e464f0df3a4a539d1926868e516950ee1a8e68.tar.gz bcm5719-llvm-29e464f0df3a4a539d1926868e516950ee1a8e68.zip |
Fix UBSan error reports in ValueMapCallbackVH and AssertingVH<T> empty/tombstone keys generation.
Summary:
One more attempt to fix UBSan reports: make sure DenseMapInfo::getEmptyKey()
and DenseMapInfo::getTombstoneKey() doesn't do any upcasts/downcasts to/from Value*.
Test Plan: check-llvm test suite with/without UBSan bootstrap
Reviewers: chandlerc, dexonsmith
Subscribers: llvm-commits, majnemer
Differential Revision: http://reviews.llvm.org/D6903
llvm-svn: 225558
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions