[Lldb-commits] [lldb] [lldb/crashlog] Fix typo in error message when creating a target (PR #122514)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 10 11:28:29 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Med Ismail Bennani (medismailben)
<details>
<summary>Changes</summary>
This fixes a typo when creating a target from the crashlog script and that we were not able to find a valid architecture from the crash report.
rdar://137344016
---
Full diff: https://github.com/llvm/llvm-project/pull/122514.diff
1 Files Affected:
- (modified) lldb/examples/python/crashlog.py (+1-1)
``````````diff
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py
index 368437ed63e46b..ab8c2fcaf034b2 100755
--- a/lldb/examples/python/crashlog.py
+++ b/lldb/examples/python/crashlog.py
@@ -1512,7 +1512,7 @@ def load_crashlog_in_scripted_process(debugger, crashlog_path, options, result):
arch = crashlog.process_arch
if not arch:
raise InteractiveCrashLogException(
- "couldn't create find the architecture to create the target"
+ "couldn't find the architecture to create the target"
)
target = debugger.CreateTargetWithFileAndArch(None, arch)
# 4. Fail
``````````
</details>
https://github.com/llvm/llvm-project/pull/122514
More information about the lldb-commits
mailing list