From 6db2b2be10ac4659a01a865e5912719b3bb575f0 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 22 Sep 2015 18:50:51 +0000 Subject: [PATCH] dsymutil: Make DwarfLinker::reportWarning() public. (NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248310 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/dsymutil/DwarfLinker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.34.1