================ @@ -0,0 +1,30 @@ +# REQUIRES: riscv + +# This test verifies that disassemble -b prints out the correct bytes and +# format for standard and unknown riscv instructions of various sizes, +# and that unknown instructions show opcodes and disassemble as "<unknown>". +# It also tests that the fdis command from examples/python/filter_disasm.py +# pipes the disassembly output through a simple filter program correctly. ---------------- DavidSpickett wrote:
It would be good if the example filter changed at least one line, not to test the example filter, but to demonstrate better what an external filter will do. It can be super basic like search for literal "0940003f 00200020" and replace "<unknown>" with something, it's just a hint for future developers to the sort of thing filters might do. Also the example filter being in python would be great if you can make that work. https://github.com/llvm/llvm-project/pull/145793 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits