[Lldb-commits] [PATCH] D121999: [lldb][AArch64] Update disassembler feature list and add tests for all extensions

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 18 05:18:47 PDT 2022


DavidSpickett created this revision.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

This updates the disassembler to enable every optional extension.
Previously we had added things that we added "support" for in lldb.
(where support means significant work like new registers, fault types, etc.)

Something like TME (transactional memory) wasn't added because
there are no new lldb features for it. However we should still be
disassembling the instructions.

So I went through the AArch64 extensions and added all the missing
ones. The new test is more documentation than anything but even so
it's an improvement.

The source file is not used in the test directly but I'm committing
it in case we need to regenerate it (e.g. formatting changes).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121999

Files:
  lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
  lldb/test/API/python_api/disassemble-raw-data/aarch64-extensions/TestDisassembleAArch64Extensions.py
  lldb/test/API/python_api/disassemble-raw-data/aarch64-extensions/extensions.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121999.416468.patch
Type: text/x-patch
Size: 9298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220318/80c6e560/attachment.bin>


More information about the lldb-commits mailing list