[all-commits] [llvm/llvm-project] af1328: [ELF] Simplify EhInputSection::split. NFC
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Jul 31 17:00:11 PDT 2022
Author: Fangrui Song <i at maskray.me>
Date: 2022-07-31 (Sun, 31 Jul 2022)
[ELF] Simplify EhInputSection::split. NFC
* Inline getReloc
* Fold the UINT32_MAX length check into the section size check.
This transformation is valid because we don't support .eh_frame input sections
larger than 32-bit (unrealistic even for large code models).
More information about the All-commits