llvm-capstone/lldb/test/API
Adrian Prantl 133c3eaac0 Streamline expression parser error messages.
Currently the expression parser prints a mostly useless generic error before printing the compiler error:

  (lldb) p 1+x)
  error: expression failed to parse:
  error: <user expression 18>:1:3: use of undeclared identifier 'x'
  1+x)
     ^

This is distracting and as far as I can tell only exists to work
around the fact that the first "error: " is unconditionally injected
by CommandReturnObject. The solution is not very elegant, but the
result looks much better.

(Partially addresses rdar://110492710)

Differential Revision: https://reviews.llvm.org/D152590
2023-06-12 10:29:48 -07:00
..
android/platform [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
api [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
arm [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
assert_messages_test [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
benchmarks [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
commands Streamline expression parser error messages. 2023-06-12 10:29:48 -07:00
driver [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
functionalities [lldb] Disable some tests on windows 2023-06-06 16:10:05 -07:00
iohandler [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
lang [lldb] Unconditionally increment depth when printing children 2023-06-08 13:30:30 -07:00
linux [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
lldbutil-tests/failed-to-hit-breakpoint [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
lua_api [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
macosx Add EXC_SYSCALL to the set of ignorable mach exceptions. 2023-06-01 10:20:47 -07:00
python_api Fix SBValue::FindValue for file static variables 2023-05-30 17:12:35 -07:00
qemu [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
repl/clang [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
sample_test [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
sanity [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
source-manager [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
symbol_ondemand [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
terminal [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
test_runner/test [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
test_utils [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
tools [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
types [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
CMakeLists.txt [CMake] Avoid LLVM_BINARY_DIR when other more specific variable are better-suited, part 1 2022-09-14 10:58:47 -04:00
dotest.py [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
get_darwin_real_python.py [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
lit.cfg.py [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
lit.site.cfg.py.in [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
lldbtest.py [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
use_lldb_suite.py [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00