diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-12-04 08:27:43 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-04 08:28:52 +0100 |
| commit | 2f1e7b3d01e176e912477d52847c19d3847a43a0 (patch) | |
| tree | 4c68da95751a0096b2d19ec72e57d40dbfa1ea3b /lldb/include | |
| parent | ddcce0f3d665b66a8232a80ca918d349c8485fe4 (diff) | |
| download | bcm5719-llvm-2f1e7b3d01e176e912477d52847c19d3847a43a0.tar.gz bcm5719-llvm-2f1e7b3d01e176e912477d52847c19d3847a43a0.zip | |
[lldb][NFC] Migrate to raw_ostream in ArchSpec::DumpTriple
Reviewers: labath, davide
Reviewed By: davide
Subscribers: clayborg, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70979
Diffstat (limited to 'lldb/include')
| -rw-r--r-- | lldb/include/lldb/Core/ModuleSpec.h | 2 | ||||
| -rw-r--r-- | lldb/include/lldb/Utility/ArchSpec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/Core/ModuleSpec.h b/lldb/include/lldb/Core/ModuleSpec.h index 651d0dc869b..26be59e3f4a 100644 --- a/lldb/include/lldb/Core/ModuleSpec.h +++ b/lldb/include/lldb/Core/ModuleSpec.h @@ -207,7 +207,7 @@ public: if (dumped_something) strm.PutCString(", "); strm.Printf("arch = "); - m_arch.DumpTriple(strm); + m_arch.DumpTriple(strm.AsRawOstream()); dumped_something = true; } if (m_uuid.IsValid()) { diff --git a/lldb/include/lldb/Utility/ArchSpec.h b/lldb/include/lldb/Utility/ArchSpec.h index ae795837683..15e2fdb10c3 100644 --- a/lldb/include/lldb/Utility/ArchSpec.h +++ b/lldb/include/lldb/Utility/ArchSpec.h @@ -433,7 +433,7 @@ public: /// \return A triple describing this ArchSpec. const llvm::Triple &GetTriple() const { return m_triple; } - void DumpTriple(Stream &s) const; + void DumpTriple(llvm::raw_ostream &s) const; /// Architecture triple setter. /// |

