[all-commits] [llvm/llvm-project] f79e7a: [lld-macho] Have inputOrder default to less than I...

Jez Ng via All-commits all-commits at lists.llvm.org
Sun Jun 20 16:49:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f79e7a5a48181b5d7ff3170f1617e4f7ba8d0fb8
      https://github.com/llvm/llvm-project/commit/f79e7a5a48181b5d7ff3170f1617e4f7ba8d0fb8
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-06-20 (Sun, 20 Jun 2021)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/OutputSection.h
    M lld/MachO/OutputSegment.h

  Log Message:
  -----------
  [lld-macho] Have inputOrder default to less than INT_MAX

We make it less than INT_MAX in order not to conflict with the ordering
of zerofill sections, which must always be placed at the end of their
segment.

This is the more structural fix for the issue addressed in {D104596}.

Reviewed By: #lld-macho, thakis

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




More information about the All-commits mailing list