Author: Ebuka Ezike Date: 2025-08-26T15:26:01+01:00 New Revision: 749537f4878165f5548b499669ec11a61da1903c
URL: https://github.com/llvm/llvm-project/commit/749537f4878165f5548b499669ec11a61da1903c DIFF: https://github.com/llvm/llvm-project/commit/749537f4878165f5548b499669ec11a61da1903c.diff LOG: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) pathFormat is an optional field in `initializeAruguments`. Added: Modified: lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp Removed: ################################################################################ diff --git a/lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp b/lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp index eab7211e18973..e1806d6230a80 100644 --- a/lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp +++ b/lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp @@ -219,7 +219,7 @@ bool fromJSON(const json::Value &Params, InitializeRequestArguments &IRA, OM.map("clientName", IRA.clientName) && OM.map("locale", IRA.locale) && OM.map("linesStartAt1", IRA.linesStartAt1) && OM.map("columnsStartAt1", IRA.columnsStartAt1) && - OM.map("pathFormat", IRA.pathFormat) && + OM.mapOptional("pathFormat", IRA.pathFormat) && OM.map("$__lldb_sourceInitFile", IRA.lldbExtSourceInitFile); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits