[all-commits] [llvm/llvm-project] f004ec: [lld-macho][nfc] Remove indirection when looking u...

Jez Ng via All-commits all-commits at lists.llvm.org
Thu Apr 7 11:31:15 PDT 2022


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

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

  Log Message:
  -----------
  [lld-macho][nfc] Remove indirection when looking up common section members

{D118797} means that we can now check the name/segname of a given
section directly, instead of having to look those properties up on one
of its subsections. This allows us to simplify our code.

Reviewed By: #lld-macho, oontvoo

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




More information about the All-commits mailing list