https://github.com/medismailben created https://github.com/llvm/llvm-project/pull/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 >From 4b25769382f81fd03553703624e8b8e48d83aa72 Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani <ism...@bennani.ma> Date: Fri, 10 Jan 2025 11:24:30 -0800 Subject: [PATCH] [lldb/crashlog] Fix typo in error message when creating a target 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 <ism...@bennani.ma> --- lldb/examples/python/crashlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits