[llvm] r248310 - dsymutil: Make DwarfLinker::reportWarning() public. (NFC)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 11:50:51 PDT 2015


Author: adrian
Date: Tue Sep 22 13:50:51 2015
New Revision: 248310

URL: http://llvm.org/viewvc/llvm-project?rev=248310&view=rev
Log:
dsymutil: Make DwarfLinker::reportWarning() public. (NFC)

Modified:
    llvm/trunk/tools/dsymutil/DwarfLinker.cpp

Modified: llvm/trunk/tools/dsymutil/DwarfLinker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DwarfLinker.cpp?rev=248310&r1=248309&r2=248310&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DwarfLinker.cpp (original)
+++ llvm/trunk/tools/dsymutil/DwarfLinker.cpp Tue Sep 22 13:50:51 2015
@@ -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.




More information about the llvm-commits mailing list