[lldb] [llvm] [LLDB] Add a target.launch-working-dir setting (PR #113521)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 02:33:40 PST 2024


================
@@ -201,6 +201,12 @@ let Definition = "target" in {
   def DebugUtilityExpression: Property<"debug-utility-expression", "Boolean">,
     DefaultFalse,
     Desc<"Enable debugging of LLDB-internal utility expressions.">;
+  def LaunchWorkingDir: Property<"launch-working-dir", "String">,
+    DefaultStringValue<"">,
+    Desc<"A default value for the working directory to use when launching processes. "
+         "It's ignored when empty. This setting is only used when the target is "
+         "launched. If you change this setting, the new value will only apply to "
+         "subsequent launches.">;
----------------
DavidSpickett wrote:

"Commands that take an explicit working directory will override this setting." or words to that effect.

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


More information about the llvm-commits mailing list