[llvm] 100e1f9 - [macho2yaml] Remove unused functions. NFC.

Xing GUO via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 05:34:46 PDT 2020


Author: Xing GUO
Date: 2020-08-07T20:34:15+08:00
New Revision: 100e1f911c0e80360af2fa676f832a6f2b52c59d

URL: https://github.com/llvm/llvm-project/commit/100e1f911c0e80360af2fa676f832a6f2b52c59d
DIFF: https://github.com/llvm/llvm-project/commit/100e1f911c0e80360af2fa676f832a6f2b52c59d.diff

LOG: [macho2yaml] Remove unused functions. NFC.

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

Reviewed By: grimar

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

Added: 
    

Modified: 
    llvm/tools/obj2yaml/macho2yaml.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/obj2yaml/macho2yaml.cpp b/llvm/tools/obj2yaml/macho2yaml.cpp
index 6b0db2aa15fa..1d89bf115706 100644
--- a/llvm/tools/obj2yaml/macho2yaml.cpp
+++ b/llvm/tools/obj2yaml/macho2yaml.cpp
@@ -34,10 +34,6 @@ class MachODumper {
                        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,


        


More information about the llvm-commits mailing list