[all-commits] [llvm/llvm-project] fa4d18: [ELF] Move PhdrEntry to SyntheticSections

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Nov 19 22:00:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa4d1860d20a5afa6f96673ba02a99f09f69869c
      https://github.com/llvm/llvm-project/commit/fa4d1860d20a5afa6f96673ba02a99f09f69869c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    M lld/ELF/OutputSections.cpp
    M lld/ELF/OutputSections.h
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.h

  Log Message:
  -----------
  [ELF] Move PhdrEntry to SyntheticSections

The next change will change Partition::phdrs to a unique_ptr vector,
which requires PhdrEntry to be a complete type.

And make OutputSection::getLMA out-of-line, since it should not include
either SyntheticSections.h or Writer.h.



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