Skip to content

Commit

Permalink
[lldb/crashlog] Fix typo in error message when creating a target (llv…
Browse files Browse the repository at this point in the history
…m#122514)

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

Signed-off-by: Med Ismail Bennani <[email protected]>
  • Loading branch information
medismailben authored Jan 10, 2025
1 parent 2e5c298 commit 833a174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/examples/python/crashlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 833a174

Please sign in to comment.