aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authoraengelke <engelke@in.tum.de>2024-06-13 12:04:56 +0200
committerGitHub <noreply@github.com>2024-06-13 12:04:56 +0200
commit846e47e7b880bcf6b8f5773fe0fe236d486f3239 (patch)
treedb78d750a6103866b5948971af5f8858c80a0b65 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent5c9352eb0258d506fb96f4a69e44f1d2fa284f1d (diff)
downloadllvm-846e47e7b880bcf6b8f5773fe0fe236d486f3239.zip
llvm-846e47e7b880bcf6b8f5773fe0fe236d486f3239.tar.gz
llvm-846e47e7b880bcf6b8f5773fe0fe236d486f3239.tar.bz2
[MC] Reduce size of MCDataFragment by 8 bytes (#95293)
Due to alignment, the first two fields of MCEncodedFragment are currently at bytes 40 and 41, so 1 byte over the 8 byte boundary, causing 7 bytes padding to be inserted for the following pointer. Fold two bools of MCFragment into bitfields to reduce move the two fields of MCEncodedFragment one byte earlier to remove the padding bytes. This works, as in the Itanium ABI, there is no padding after base classes. This gives a space reduction of MCDataFragment from 224 to 216 bytes.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions