diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2020-12-09 13:30:52 -0800 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2020-12-09 14:14:49 -0800 |
commit | a7790508522fc277963df974dc953077778e3c11 (patch) | |
tree | a5873dc1435b5c7d63f3371084d6dad9780f1e0c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9260a999990cd8ee877e1cb9b517166579eca4f3 (diff) | |
download | llvm-a7790508522fc277963df974dc953077778e3c11.zip llvm-a7790508522fc277963df974dc953077778e3c11.tar.gz llvm-a7790508522fc277963df974dc953077778e3c11.tar.bz2 |
scudo: Shrink secondary header and cache entry size by a word on Linux. NFCI.
Normally compilers will allocate space for struct fields even if the
field is an empty struct. Use the [[no_unique_address]] attribute to
suppress that behavior. This attribute that was introduced in C++20,
but compilers that do not support [[no_unique_address]] will ignore
it since it uses C++11 attribute syntax.
Differential Revision: https://reviews.llvm.org/D92966
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions