================
@@ -83,10 +85,16 @@ std::vector<Variable> 
make_variables(VariableReferenceStorage &storage,
     if (LLVM_UNLIKELY(var_ref.Kind() == eReferenceKindInvalid))
       break;
 
+    std::optional<std::string> custom_name;
+    auto name_it = name_overrides.find(variable.GetID());
+    if (name_it != name_overrides.end())
+      custom_name = name_it->second;
+
----------------
ashgti wrote:

I may follow up this with moving `CreateVariable` into this file and trying to 
simplify some of this further, but I wanted to minimize the changes for now.

https://github.com/llvm/llvm-project/pull/183176
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to