aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2022-04-19 13:46:04 -0700
committerShoaib Meenai <smeenai@fb.com>2022-04-20 10:46:36 -0700
commit4641d86e45bf752e24b0a8a28d48891cef566aff (patch)
tree1df2c38df7555f5c6f903fc90c476d03be2d65f8 /clang/lib/Lex/ModuleMap.cpp
parent610a0e8b5368853b0e67b16812c0fb61d8900356 (diff)
downloadllvm-4641d86e45bf752e24b0a8a28d48891cef566aff.zip
llvm-4641d86e45bf752e24b0a8a28d48891cef566aff.tar.gz
llvm-4641d86e45bf752e24b0a8a28d48891cef566aff.tar.bz2
[ELF] Shrink binding and type in Symbol
STB_HIPROC and STT_HIPROC are both 15, so we can fit the symbol binding and type in 4 bits. This gives us an additional byte to use for Symbol flags (without increasing the type's size), which I'll be making use of in the next diff. Reorder type and binding based on a suggestion from @MaskRay, to optimize st_info computation on little-endian systems (see https://godbolt.org/z/nMn8Yar43). Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D124042
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions