[Lldb-commits] [lldb] Colorize output when searching for symbols in lldb (PR #69422)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 26 02:34:36 PDT 2023


================
@@ -0,0 +1,23 @@
+UNSUPPORTED: system-windows
+
+# RUN: %clang_host -g %S/Inputs/main.c -o %t
+# RUN: %lldb %t -b -o 'image lookup -r -s ma' | FileCheck %s
+
+# CHECK: 3 symbols match the regular expression 'ma' in {{.*}}
+# The [[ confuses FileCheck so regex match it.
+# CHECK-NEXT:         Name: {{.+}}31mma{{.+}}0min.c
----------------
DavidSpickett wrote:

Well, ordering is something we want to be correct - but that's tested by other tests. You can assume it will be correct.

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


More information about the lldb-commits mailing list