[all-commits] [llvm/llvm-project] e80a0b: [ELF] Remove unneeded getOutputSectionVA. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Nov 28 16:17:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e80a0b353c31e2303c44141ab8b2ca63627ab5c2
      https://github.com/llvm/llvm-project/commit/e80a0b353c31e2303c44141ab8b2ca63627ab5c2
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-28 (Sun, 28 Nov 2021)

  Changed paths:
    M lld/ELF/LinkerScript.cpp

  Log Message:
  -----------
  [ELF] Remove unneeded getOutputSectionVA. NFC

I attempted to remove it 1 or 2 year ago but kept it just to have a good
diagnostic in case the output section is nullptr (should be impossible).
It is long enough that we haven't seen such a case.




More information about the All-commits mailing list