[all-commits] [llvm/llvm-project] c22588: [ELF] Move InputSectionBase::file to SectionBase

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Oct 10 22:15:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c22588c7cdc5a82afd825ce90f21f922dedee98b
      https://github.com/llvm/llvm-project/commit/c22588c7cdc5a82afd825ce90f21f922dedee98b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

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

  Log Message:
  -----------
  [ELF] Move InputSectionBase::file to SectionBase

... and add getCtx (file->ctx). This allows InputSectionBase and
OutputSection to access ctx without taking an extra function argument.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list