diff --git a/tools/dsymutil/DwarfLinker.cpp b/tools/dsymutil/DwarfLinker.cpp index f3217f9b227..f74486ef75b 100644 --- a/tools/dsymutil/DwarfLinker.cpp +++ b/tools/dsymutil/DwarfLinker.cpp @@ -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.