summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-23 18:42:38 +0000
committerZachary Turner <zturner@google.com>2016-09-23 18:42:38 +0000
commita498f0ec934cd4f68c0b62afee2c43e110961ee4 (patch)
tree01cb029e6211f1d31e67b1b0ea026071cecb0978 /lldb/source/Core/Module.cpp
parent380cd88cfd5244e4f97d8abce20d6269f8353c8d (diff)
downloadbcm5719-llvm-a498f0ec934cd4f68c0b62afee2c43e110961ee4.tar.gz
bcm5719-llvm-a498f0ec934cd4f68c0b62afee2c43e110961ee4.zip
Change Module::RemapPath to use StringRef.
llvm-svn: 282277
Diffstat (limited to 'lldb/source/Core/Module.cpp')
-rw-r--r--lldb/source/Core/Module.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index 765f71598f4..1c3ab6da52a 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -1635,7 +1635,8 @@ bool Module::FindSourceFile(const FileSpec &orig_spec,
return m_source_mappings.FindFile(orig_spec, new_spec);
}
-bool Module::RemapSourceFile(const char *path, std::string &new_path) const {
+bool Module::RemapSourceFile(llvm::StringRef path,
+ std::string &new_path) const {
std::lock_guard<std::recursive_mutex> guard(m_mutex);
return m_source_mappings.RemapPath(path, new_path);
}
OpenPOWER on IntegriCloud