[PATCH] D124042: [ELF] Shrink binding and type in Symbol

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 22:52:24 PDT 2022


smeenai added a comment.

In D124042#3460961 <https://reviews.llvm.org/D124042#3460961>, @MaskRay wrote:

> `#define ELF32_ST_INFO(bind, type)       (((bind) << 4) + ((type) & 0xf))`
>
> It may be worth swapping type and bind to optimize for little-endian systems.

Good idea, thanks.


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