diff options
| author | Dominic Chen <d.c.ddcc@gmail.com> | 2020-09-26 18:04:31 -0400 |
|---|---|---|
| committer | Dominic Chen <d.c.ddcc@gmail.com> | 2020-09-28 13:56:05 -0400 |
| commit | 06e68f05dafb96ea5395d2fed669fccdcd07f61f (patch) | |
| tree | 5115e50c2141eb53ada7c828433f43867f93741c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | d047bb1cf69316b39dd67ecc5af669414be9152c (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
