diff options
author | Alex Langford <alangford@apple.com> | 2023-05-25 18:19:46 -0700 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-05-30 13:21:56 -0700 |
commit | f46638b01d1bd66aa879188132e0d19a0a7f5928 (patch) | |
tree | b0c8636f517c512c44ffe80658329db1b61bcbaa /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | db7f639b900dca266ea9f47c934418af0a67122b (diff) | |
download | llvm-f46638b01d1bd66aa879188132e0d19a0a7f5928.zip llvm-f46638b01d1bd66aa879188132e0d19a0a7f5928.tar.gz llvm-f46638b01d1bd66aa879188132e0d19a0a7f5928.tar.bz2 |
[lldb][NFCI] Change type of SBDebugger::m_instance_name
This doesn't need to be in the ConstString StringPool. There's little
benefit to having these be unique, and we don't need fast comparisons on
them.
Differential Revision: https://reviews.llvm.org/D151524
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index ebc5990..902c7fa 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -408,7 +408,7 @@ ScriptInterpreterPythonImpl::ScriptInterpreterPythonImpl(Debugger &debugger) m_session_dict(PyInitialValue::Invalid), m_sys_module_dict(PyInitialValue::Invalid), m_run_one_line_function(), m_run_one_line_str_global(), - m_dictionary_name(m_debugger.GetInstanceName().AsCString()), + m_dictionary_name(m_debugger.GetInstanceName()), m_active_io_handler(eIOHandlerNone), m_session_is_active(false), m_pty_secondary_is_open(false), m_valid_session(true), m_lock_count(0), m_command_thread_state(nullptr) { |