[Lldb-commits] [lldb] Make env and source map dictionaries #95137 (PR #106919)

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Sun Sep 1 23:52:16 PDT 2024


================
@@ -194,9 +199,14 @@
                 "description": "Specify a source path to remap \"./\" to allow full paths to be used when setting breakpoints in binaries that have relative source paths."
               },
               "sourceMap": {
-                "type": "array",
-                "description": "Specify an array of path remappings; each element must itself be a two element array containing a source and destination path name. Overrides sourcePath.",
-                "default": []
+                "type": "object",
+                "description": "Specify an object of path remappings; each entry has a key containing the source path and a value containing the destination path. E.g { \"/the/source/path\": \"/the/destination/path\" } Overrides sourcePath.",
----------------
vogelsgesang wrote:

```suggestion
                "description": "Specify an object of path remappings; each entry has a key containing the source path and a value containing the destination path. E.g `{ \"/the/source/path\": \"/the/destination/path\" }`. Overrides sourcePath.",
```

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


More information about the lldb-commits mailing list