[PATCH] D124042: [ELF] Shrink binding and type in Symbol
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 22:39:40 PDT 2022
MaskRay added a comment.
`#define ELF32_ST_INFO(bind, type) (((bind) << 4) + ((type) & 0xf))`
It may be worth swapping type and bind to optimize for little-endian systems.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124042/new/
https://reviews.llvm.org/D124042
More information about the llvm-commits
mailing list