[all-commits] [llvm/llvm-project] 2618ea: [lld-macho][nfc] Clean up some constructor declara...

Jez Ng via All-commits all-commits at lists.llvm.org
Thu Apr 22 15:26:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2618eaf614418c5d48c7fccc155106a3292a1431
      https://github.com/llvm/llvm-project/commit/2618eaf614418c5d48c7fccc155106a3292a1431
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/Writer.cpp

  Log Message:
  -----------
  [lld-macho][nfc] Clean up some constructor declarations

Remove unnecessary default ctor + add `explicit` to others


  Commit: aa05439c9cde873ba18ae847ac7c23877178a9ca
      https://github.com/llvm/llvm-project/commit/aa05439c9cde873ba18ae847ac7c23877178a9ca
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/test/MachO/invalid/incompatible-arch.s

  Log Message:
  -----------
  [lld-macho] Fix min version check

We had got it backwards... the minimum version of the target
should be higher than the min version of the object files, presumably
since new platforms are backwards-compatible with older formats.

Fixes PR50078.

Reviewed By: #lld-macho, thakis

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


Compare: https://github.com/llvm/llvm-project/compare/beb5ac8b254b...aa05439c9cde


More information about the All-commits mailing list