[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
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af1328ef452b9eaa4e9f0bc115aeda8f40c4bbff
https://github.com/llvm/llvm-project/commit/af1328ef452b9eaa4e9f0bc115aeda8f40c4bbff
Author: Fangrui Song <i at maskray.me>
Date: 2022-07-31 (Sun, 31 Jul 2022)
Changed paths:
M lld/ELF/InputSection.cpp
Log Message:
-----------
[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
mailing list