[all-commits] [llvm/llvm-project] 80caa1: [lld/mac] Add support for segment$start$ and segme...

Nico Weber via All-commits all-commits at lists.llvm.org
Sun Jul 25 15:27:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80caa1eb4a0eab61debdcda515d00461a20520a6
      https://github.com/llvm/llvm-project/commit/80caa1eb4a0eab61debdcda515d00461a20520a6
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-07-25 (Sun, 25 Jul 2021)

  Changed paths:
    M lld/MachO/OutputSegment.cpp
    M lld/MachO/OutputSegment.h
    M lld/MachO/SymbolTable.cpp
    M lld/MachO/Writer.cpp
    M lld/test/MachO/start-end.s

  Log Message:
  -----------
  [lld/mac] Add support for segment$start$ and segment$end$ symbols

These symbols are somewhat interesting in that they create non-existing
segments, which as far as I know is the only way to create segments
that don't contain any sections.

Final part of part of PR50760. Like D106629, but for segments instead
of sections. I'm not aware of anything that needs this in practice.

Differential Revision: https://reviews.llvm.org/D106767




More information about the All-commits mailing list