diff options
| author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-01-12 15:29:19 -0800 |
|---|---|---|
| committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-01-12 19:20:51 -0800 |
| commit | c3b471c0be4f6b5a22afe10f95ff75bf1744d66e (patch) | |
| tree | 4a5a420b19d35a4fa2684f0a83ce2286f0c0242b /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 44b81f621c41ce21b1a1352d9bd7b7e7a8b0179e (diff) | |
[lldb] Force override when adding crashlog command
When using interactive crashlog from an IDE, it can happen that the user
already have the `command script import lldb.macosx.crashlog` command on
their `lldbinit` file.
That leads to showing some message:
```
error: cannot add command: user command exists and force replace not set
error: cannot add command: user command exists and force replace not set
```
This leads to confusion because the crashlog symbolication continues and
succeeds even after these errors.
To address that, the crashlog commands get overridden everytime the
script get re-imported.
rdar://103403943
Differential Revision: https://reviews.llvm.org/D140113
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
