diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 | 
| commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
| tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /lldb/source/Expression/ExpressionVariable.cpp | |
| parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) | |
Notes
Diffstat (limited to 'lldb/source/Expression/ExpressionVariable.cpp')
| -rw-r--r-- | lldb/source/Expression/ExpressionVariable.cpp | 14 | 
1 files changed, 2 insertions, 12 deletions
| diff --git a/lldb/source/Expression/ExpressionVariable.cpp b/lldb/source/Expression/ExpressionVariable.cpp index ed8da0ad8675..d95f0745cf4b 100644 --- a/lldb/source/Expression/ExpressionVariable.cpp +++ b/lldb/source/Expression/ExpressionVariable.cpp @@ -1,4 +1,4 @@ -//===-- ExpressionVariable.cpp ----------------------------------*- C++ -*-===// +//===-- ExpressionVariable.cpp --------------------------------------------===//  //  // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.  // See https://llvm.org/LICENSE.txt for license information. @@ -69,20 +69,10 @@ void PersistentExpressionState::RegisterExecutionUnit(        // of the demangled name will find the mangled one (needed for looking up        // metadata pointers.)        Mangled mangler(global_var.m_name); -      mangler.GetDemangledName(lldb::eLanguageTypeUnknown); +      mangler.GetDemangledName();        m_symbol_map[global_var.m_name.GetCString()] = global_var.m_remote_addr;        LLDB_LOGF(log, "  Symbol: %s at 0x%" PRIx64 ".",                  global_var.m_name.GetCString(), global_var.m_remote_addr);      }    }  } - -ConstString PersistentExpressionState::GetNextPersistentVariableName( -    Target &target, llvm::StringRef Prefix) { -  llvm::SmallString<64> name; -  { -    llvm::raw_svector_ostream os(name); -    os << Prefix << target.GetNextPersistentVariableIndex(); -  } -  return ConstString(name); -} | 
