summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2020-09-26 18:04:31 -0400
committerDominic Chen <d.c.ddcc@gmail.com>2020-09-28 13:56:05 -0400
commit06e68f05dafb96ea5395d2fed669fccdcd07f61f (patch)
tree5115e50c2141eb53ada7c828433f43867f93741c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd047bb1cf69316b39dd67ecc5af669414be9152c (diff)
[AddressSanitizer] Copy type metadata to prevent miscompilation
When ASan and e.g. Dead Virtual Function Elimination are enabled, the latter will rely on type metadata to determine if certain virtual calls can be removed. However, ASan currently does not copy type metadata, which can cause virtual function calls to be incorrectly removed. Differential Revision: https://reviews.llvm.org/D88368
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions