[Lldb-commits] [lldb] [lldb-dap] Validate utf8 protocol messages. (PR #181261)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 13 10:23:57 PST 2026


================
@@ -15,11 +15,11 @@ bool fromJSON(const llvm::json::Value &Params, PersistenceData &PD,
 
 llvm::json::Value toJSON(const PersistenceData &PD) {
   json::Object result{
-      {"module_path", PD.module_path},
-      {"symbol_name", PD.symbol_name},
+      {"module_path", std::move(PD.module_path)},
+      {"symbol_name", std::move(PD.symbol_name)},
----------------
ashgti wrote:

Reverted

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


More information about the lldb-commits mailing list