summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2018-03-10 01:11:25 +0000
committerAdrian Prantl <aprantl@apple.com>2018-03-10 01:11:25 +0000
commit3cd29bcfe245bfe260d7a59b5cd836209d79802a (patch)
treec79428ae19b321ca0b6fe0b4baad1d25a770c3e1 /lldb/source/Core
parent56e5a2e13e3048fc2ff39029cde406d9f4eb55f3 (diff)
downloadbcm5719-llvm-3cd29bcfe245bfe260d7a59b5cd836209d79802a.tar.gz
bcm5719-llvm-3cd29bcfe245bfe260d7a59b5cd836209d79802a.zip
Rename clang.modules-cache-path to symbols.clang-modules-cache-path
I want to extend the properties on ModuleList to also contain other more general settings and renaming the settings category to symbols seems to be the least bad of choices. llvm-svn: 327193
Diffstat (limited to 'lldb/source/Core')
-rw-r--r--lldb/source/Core/Debugger.cpp4
-rw-r--r--lldb/source/Core/ModuleList.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 49414cbdfa1..172cd487bec 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -776,8 +776,8 @@ Debugger::Debugger(lldb::LogOutputCallback log_callback, void *baton)
ConstString("platform"), ConstString("Platform settings."), true,
Platform::GetGlobalPlatformProperties()->GetValueProperties());
m_collection_sp->AppendProperty(
- ConstString("clang"), ConstString("Settings specific to Clang."), true,
- ModuleList::GetGlobalModuleListProperties().GetValueProperties());
+ ConstString("symbols"), ConstString("Symbol lookup and cache settings."),
+ true, ModuleList::GetGlobalModuleListProperties().GetValueProperties());
if (m_command_interpreter_ap) {
m_collection_sp->AppendProperty(
ConstString("interpreter"),
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp
index d89d7cbca6f..605fe2f29a8 100644
--- a/lldb/source/Core/ModuleList.cpp
+++ b/lldb/source/Core/ModuleList.cpp
@@ -67,7 +67,7 @@ using namespace lldb_private;
namespace {
PropertyDefinition g_properties[] = {
- {"modules-cache-path", OptionValue::eTypeFileSpec, true, 0, nullptr,
+ {"clang-modules-cache-path", OptionValue::eTypeFileSpec, true, 0, nullptr,
nullptr,
"The path to the clang modules cache directory (-fmodules-cache-path)."},
{nullptr, OptionValue::eTypeInvalid, false, 0, nullptr, nullptr, nullptr}};
@@ -77,7 +77,7 @@ enum { ePropertyClangModulesCachePath };
} // namespace
ModuleListProperties::ModuleListProperties() {
- m_collection_sp.reset(new OptionValueProperties(ConstString("clang")));
+ m_collection_sp.reset(new OptionValueProperties(ConstString("symbols")));
m_collection_sp->Initialize(g_properties);
llvm::SmallString<128> path;
OpenPOWER on IntegriCloud