summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-18 20:44:46 +0000
committerZachary Turner <zturner@google.com>2016-11-18 20:44:46 +0000
commita47464b2738c5180061f4cfe6b3f72238b3cfa7d (patch)
treebb35f622d5077ba508f8624fad7ad4943d87bf4d /lldb/source/Commands/CommandObjectTarget.cpp
parentde50acc31ec77e11cb1c8d383850e3b70e9fc308 (diff)
downloadbcm5719-llvm-a47464b2738c5180061f4cfe6b3f72238b3cfa7d.tar.gz
bcm5719-llvm-a47464b2738c5180061f4cfe6b3f72238b3cfa7d.zip
Change CreateTarget and dependents to accept StringRef.
llvm-svn: 287376
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index d36adb46abf..d2e53aa4a14 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -278,7 +278,7 @@ protected:
Debugger &debugger = m_interpreter.GetDebugger();
TargetSP target_sp;
- const char *arch_cstr = m_arch_option.GetArchitectureName();
+ llvm::StringRef arch_cstr = m_arch_option.GetArchitectureName();
const bool get_dependent_files =
m_add_dependents.GetOptionValue().GetCurrentValue();
Error error(debugger.GetTargetList().CreateTarget(
OpenPOWER on IntegriCloud