[PATCH] D102601: [NFC][object] Change the input parameter of the method isDebugSection.

EsmeYi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 17 02:15:30 PDT 2021


Esme created this revision.
Esme added reviewers: djtodoro, jhenderson, aprantl, PowerPC.
Herald added subscribers: cmtice, hiraditya.
Esme requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102601

Files:
  llvm/include/llvm/Object/COFF.h
  llvm/include/llvm/Object/ELFObjectFile.h
  llvm/include/llvm/Object/MachO.h
  llvm/include/llvm/Object/ObjectFile.h
  llvm/include/llvm/Object/XCOFFObjectFile.h
  llvm/lib/Object/COFFObjectFile.cpp
  llvm/lib/Object/MachOObjectFile.cpp
  llvm/lib/Object/ObjectFile.cpp
  llvm/lib/Object/XCOFFObjectFile.cpp
  llvm/tools/llvm-dwarfdump/SectionSizes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102601.345780.patch
Type: text/x-patch
Size: 7849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210517/cfa6ee16/attachment.bin>


More information about the llvm-commits mailing list