[all-commits] [llvm/llvm-project] a77905: scudo: Shrink secondary header and cache entry siz...
pcc via All-commits
all-commits at lists.llvm.org
Wed Dec 9 14:15:14 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7790508522fc277963df974dc953077778e3c11
https://github.com/llvm/llvm-project/commit/a7790508522fc277963df974dc953077778e3c11
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2020-12-09 (Wed, 09 Dec 2020)
Changed paths:
M compiler-rt/lib/scudo/standalone/secondary.h
Log Message:
-----------
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
More information about the All-commits
mailing list