[all-commits] [llvm/llvm-project] bf7f3d: [ELF] Move outSecOff addition from InputSection::w...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 26 12:11:54 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf7f3dd74ee3d6c8a219ff5434df12451c9aad95
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-26 (Sun, 26 Dec 2021)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/ELF/OutputSections.cpp

  Log Message:
  [ELF] Move outSecOff addition from InputSection::writeTo to the caller

Simplify the code a bit and improve consistency with SyntheticSection::writeTo.

More information about the All-commits mailing list