[all-commits] [llvm/llvm-project] bf809c: [NFC][object] Change the input parameter of the me...

Esme via All-commits all-commits at lists.llvm.org
Wed May 26 01:48:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf809cd165f4ea1b8ef6aabc8e41e29747b4d2c7
      https://github.com/llvm/llvm-project/commit/bf809cd165f4ea1b8ef6aabc8e41e29747b4d2c7
  Author: Esme-Yi <esme.yi at ibm.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M llvm/include/llvm/Object/COFF.h
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/include/llvm/Object/MachO.h
    M llvm/include/llvm/Object/ObjectFile.h
    M llvm/lib/Object/COFFObjectFile.cpp
    M llvm/lib/Object/MachOObjectFile.cpp
    M llvm/lib/Object/ObjectFile.cpp
    M llvm/tools/llvm-dwarfdump/SectionSizes.cpp

  Log Message:
  -----------
  [NFC][object] Change the input parameter of the method isDebugSection.

Summary: This is a NFC patch to change the input parameter of the method SectionRef::isDebugSection(), by replacing the StringRef SectionName with DataRefImpl Sec. This allows us to determine if a section is debug type in more ways than just by section name.

Reviewed By: jhenderson

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




More information about the All-commits mailing list