[Lldb-commits] [PATCH] D111881: [lldb] [ABI/AArch64] Do not add subregs if some of them are present

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 15 05:00:13 PDT 2021


mgorny created this revision.
mgorny added reviewers: labath, krytarowski, emaste, teemperor.
Herald added subscribers: pengfei, kristof.beyls.
mgorny requested review of this revision.

Fix a bug introduced while refactoring ABIAArch64::AugmentRegisterInfo()
that caused subregisters to be added even if they were already present.
Instead, abort immediately if at least one subregister is found
(following ABIX86).  While at it, add a test for that.


https://reviews.llvm.org/D111881

Files:
  lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp
  lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111881.379972.patch
Type: text/x-patch
Size: 6871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211015/ea5921cd/attachment-0001.bin>


More information about the lldb-commits mailing list