diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2021-05-13 13:55:16 -0700 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2021-05-13 18:14:03 -0700 |
commit | f79929aceae966f9419cfc00c275e5e60bd0ee54 (patch) | |
tree | 771d494d938a57bbb338001c032442ded5e0d97f /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 9567131d03650bbaa82251f173bd6959e04d471d (diff) | |
download | llvm-f79929aceae966f9419cfc00c275e5e60bd0ee54.zip llvm-f79929aceae966f9419cfc00c275e5e60bd0ee54.tar.gz llvm-f79929aceae966f9419cfc00c275e5e60bd0ee54.tar.bz2 |
scudo: Fix MTE error reporting for zero-sized allocations.
With zero-sized allocations we don't actually end up storing the
address tag to the memory tag space, so store it in the first byte of
the chunk instead so that we can find it later in getInlineErrorInfo().
Differential Revision: https://reviews.llvm.org/D102442
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions