[all-commits] [llvm/llvm-project] 1c0234: [lld-macho][nfc] Have findContainingSubsection tak...

Jez Ng via All-commits all-commits at lists.llvm.org
Mon Mar 21 04:23:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c0234dfccc9f68637a4d0fa8a1493552616b412
      https://github.com/llvm/llvm-project/commit/1c0234dfccc9f68637a4d0fa8a1493552616b412
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/MachO/InputFiles.h

  Log Message:
  -----------
  [lld-macho][nfc] Have findContainingSubsection take a Section

... instead of an instance of `Subsections`.

This simplifies the code slightly since all its callsites have a Section
instance anyway.


  Commit: a993d607def2592a5f571b185f8cb0382937a0ed
      https://github.com/llvm/llvm-project/commit/a993d607def2592a5f571b185f8cb0382937a0ed
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M lld/MachO/MarkLive.cpp

  Log Message:
  -----------
  [lld-macho][nfc] Add comment explaining why a cast<> is safe


Compare: https://github.com/llvm/llvm-project/compare/afbe54f2feb0...a993d607def2


More information about the All-commits mailing list