[Lldb-commits] [lldb] [LLDB]Provide clearer error message for invalid commands. (PR #111891)

Vy Nguyen via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 12 05:42:15 PDT 2024


================
@@ -3,8 +3,10 @@
 # RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out
 # RUN: %lldb -b -o 'help breakpoint set' -o 'breakpoint set -f main.c -l 2 -u 21' %t.out | FileCheck %s --check-prefix HELP --check-prefix CHECK
 # RUN: %lldb -b -o 'help _regexp-break' -o 'b main.c:2:21' %t.out | FileCheck %s --check-prefix HELP-REGEX --check-prefix CHECK
+# RUN: not %lldb -b -o 'breakpoint foo' %t.out -o exit 2>&1 | FileCheck %s --check-prefix ERROR-MSG
----------------
oontvoo wrote:

done

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


More information about the lldb-commits mailing list