[PATCH] D85496: [macho2yaml] Remove unused functions. NFC.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 20:55:39 PDT 2020


Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Higuoxing requested review of this revision.

dumpDebugStrings() and dumpDebugAbbrev() are no longer used in
macho2yaml. This patch helps remove them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85496

Files:
  llvm/tools/obj2yaml/macho2yaml.cpp


Index: llvm/tools/obj2yaml/macho2yaml.cpp
===================================================================
--- llvm/tools/obj2yaml/macho2yaml.cpp
+++ llvm/tools/obj2yaml/macho2yaml.cpp
@@ -34,10 +34,6 @@
                        ArrayRef<uint8_t> OpcodeBuffer, bool Lazy = false);
   void dumpExportTrie(std::unique_ptr<MachOYAML::Object> &Y);
   void dumpSymbols(std::unique_ptr<MachOYAML::Object> &Y);
-  void dumpDebugAbbrev(DWARFContext &DCtx,
-                       std::unique_ptr<MachOYAML::Object> &Y);
-  void dumpDebugStrings(DWARFContext &DCtx,
-                        std::unique_ptr<MachOYAML::Object> &Y);
 
   template <typename SectionType>
   Expected<MachOYAML::Section> constructSectionCommon(SectionType Sec,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85496.283803.patch
Type: text/x-patch
Size: 733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/da7c2058/attachment.bin>


More information about the llvm-commits mailing list