dsymutil: Make DwarfLinker::reportWarning() public. (NFC)
authorAdrian Prantl <aprantl@apple.com>
Tue, 22 Sep 2015 18:50:51 +0000 (18:50 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 22 Sep 2015 18:50:51 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248310 91177308-0d34-0410-b5e6-96231b3b80d8

tools/dsymutil/DwarfLinker.cpp

index f3217f9b227cb5e7563c980807ed96e75b86aaf4..f74486ef75b60396f6cf389e1b59c3fbd0849b9e 100644 (file)
@@ -1096,6 +1096,9 @@ public:
   /// \brief Link the contents of the DebugMap.
   bool link(const DebugMap &);
 
+  void reportWarning(const Twine &Warning, const DWARFUnit *Unit = nullptr,
+                     const DWARFDebugInfoEntryMinimal *DIE = nullptr) const;
+
 private:
   /// \brief Called at the start of a debug object link.
   void startDebugObject(DWARFContext &, DebugMapObject &);
@@ -1379,9 +1382,6 @@ private:
 
   CompileUnit *getUnitForOffset(unsigned Offset);
 
-  void reportWarning(const Twine &Warning, const DWARFUnit *Unit = nullptr,
-                     const DWARFDebugInfoEntryMinimal *DIE = nullptr) const;
-
   bool createStreamer(Triple TheTriple, StringRef OutputFilename);
 
   /// \brief Attempt to load a debug object from disk.