[Lldb-commits] [lldb] [lldb] Reduce size of Mangled class (PR #200181)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Fri May 29 00:00:08 PDT 2026


================
@@ -556,7 +558,7 @@ void Mangled::Encode(DataEncoder &file, ConstStringTable &strtab) const {
 }
 
 ConstString Mangled::GetBaseName() const {
-  const auto &demangled_info = GetDemangledInfo();
+  const auto demangled_info = GetDemangledInfo();
----------------
felipepiovezan wrote:

if this data structure is big, this is very wasteful once again

https://github.com/llvm/llvm-project/pull/200181


More information about the lldb-commits mailing list