[Lldb-commits] [lldb] [lldb] Implement ${target.file} format variable (PR #123431)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 19 23:59:45 PST 2025


================
@@ -141,6 +141,10 @@ A complete list of currently supported format string variables is listed below:
 +---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | ``target.arch``                                   | The architecture of the current target                                                                                                                                                                                                                                                      |
 +---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| ``target.file.basename``                          | The basename of the current current target                                                                                                                                                                                                                                                  |
++---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| ``target.file.fullpath``                          | The path of the current current target                                                                                                                                                                                                                                                      |
----------------
labath wrote:

```suggestion
| ``target.file.basename``                          | The basename of the current target                                                                                                                                                                                                                                                  |
+---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ``target.file.fullpath``                          | The path of the current target                                                                                                                                                                                                                                                      |
```

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


More information about the lldb-commits mailing list