[lldb-dev] How/where to add test cases in LLDB.

Adrian Prantl via lldb-dev lldb-dev at lists.llvm.org
Mon Jan 13 12:52:18 PST 2020


Please note that when you are testing for a DWARF 5 feature specifically, you should think about using either Assembler or yaml2obj as input to lock down the binary encoding. If you do this, it would be best to not require a living process in your test, so the test can run even on platforms that cannot run that code. In these cases lldb-test is often useful.

Alternatively/additionally, you can write an end-to-end test that compiles from source; these are the python-based tests found in packages/.

-- adrian


More information about the lldb-dev mailing list