[all-commits] [llvm/llvm-project] eafd34: [ELF] Simplify/optimize EhInputSection::split

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jan 18 17:03:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eafd34581f588d84c54cbc370c29e3625d6ad41d
      https://github.com/llvm/llvm-project/commit/eafd34581f588d84c54cbc370c29e3625d6ad41d
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M lld/ELF/EhFrame.cpp
    M lld/ELF/EhFrame.h
    M lld/ELF/InputSection.cpp

  Log Message:
  -----------
  [ELF] Simplify/optimize EhInputSection::split

and change some `fatal` to `errorOrWarn`.

EhFrame.cpp is a helper file. We don't place all .eh_frame implementation there,
so the code move is fine.




More information about the All-commits mailing list