[lld] [llvm] [llvm-readobj][ELF] Print ELF e_entry in lowercase mode (PR #156683)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 4 09:50:43 PDT 2025


https://github.com/MaskRay commented:

llvm::utohexstr defaults to upper-case while Twine::utohexstr defaults to lower-case. I think lower-case is more popular and llvm-readelf always uses lower-case.

Using more lower-case for llvm-readobj makes sense. Unfortunately, changing some fields (relocation offsets and addends) for llvm-readobj might cause a lot of changes.

https://github.com/llvm/llvm-project/pull/156683


More information about the llvm-commits mailing list