summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-07-11 14:51:58 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-07-12 13:02:38 +0200
commitfde34d9f891b92539e0e8eff96057390ee7b1bdf (patch)
tree4f78af300b6e22ee8664352f76fd5f40929d3b7d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentde59f564400de1b0fe30ae07f3c800562a025e27 (diff)
sanitizer_common: remove debugging logic from the internal allocator
The internal allocator adds 8-byte header for debugging purposes. The problem with it is that it's not possible to allocate nicely-sized objects without a significant overhead. For example, if we allocate 512-byte objects, that will be rounded up to 768 or something. This logic migrated from tsan where it was added during initial development, I don't remember that it ever caught anything (we don't do bugs!). Remove it so that it's possible to allocate nicely-sized objects without overheads. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D105777
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions