diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2018-03-12 17:18:26 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2018-03-12 17:18:26 +0000 |
commit | 85ecac5f3f368342a7b7e2374d0eded615bdda2a (patch) | |
tree | ea8e0ee9f7fcb8ba71008f09ecf9c792662830c2 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | deface9c73484caafce14353c4378d805ac77e38 (diff) | |
download | llvm-85ecac5f3f368342a7b7e2374d0eded615bdda2a.zip llvm-85ecac5f3f368342a7b7e2374d0eded615bdda2a.tar.gz llvm-85ecac5f3f368342a7b7e2374d0eded615bdda2a.tar.bz2 |
[sanitizer] Align & pad the allocator structures to the cacheline size v2
Summary:
This is a new version of D44261, which broke some builds with older gcc, as
they can't align on a constexpr, but rather require an integer (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56859) among others.
We introduce `SANITIZER_CACHE_LINE_SIZE` in `sanitizer_platform.h` to be
used in `ALIGNED` attributes instead of using directly `kCacheLineSize`.
Reviewers: alekseyshl, thakis
Reviewed By: alekseyshl
Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D44326
llvm-svn: 327297
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions