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/source/Target | |
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/source/Target')
-rw-r--r-- | lldb/source/Target/Platform.cpp | 2 | ||||
-rw-r--r-- | lldb/source/Target/TargetList.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp index c9849a9e5f0..aaf48f35f92 100644 --- a/lldb/source/Target/Platform.cpp +++ b/lldb/source/Target/Platform.cpp @@ -406,7 +406,7 @@ void Platform::GetStatus(Stream &strm) { if (arch.IsValid()) { if (!arch.GetTriple().str().empty()) { strm.Printf(" Triple: "); - arch.DumpTriple(strm); + arch.DumpTriple(strm.AsRawOstream()); strm.EOL(); } } diff --git a/lldb/source/Target/TargetList.cpp b/lldb/source/Target/TargetList.cpp index 7c7a36e97bb..ebd02a504d0 100644 --- a/lldb/source/Target/TargetList.cpp +++ b/lldb/source/Target/TargetList.cpp @@ -144,9 +144,9 @@ Status TargetList::CreateTargetInternal( StreamString platform_arch_strm; StreamString module_arch_strm; - platform_arch.DumpTriple(platform_arch_strm); + platform_arch.DumpTriple(platform_arch_strm.AsRawOstream()); matching_module_spec.GetArchitecture().DumpTriple( - module_arch_strm); + module_arch_strm.AsRawOstream()); error.SetErrorStringWithFormat( "the specified architecture '%s' is not compatible with '%s' " "in '%s'", |