[all-commits] [llvm/llvm-project] f70f96: [lldb] [ABI/AArch64] Do not add subregs if some of...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Oct 15 05:08:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f70f9620d9abff33cf1553fad6361dc4f3183a9b
      https://github.com/llvm/llvm-project/commit/f70f9620d9abff33cf1553fad6361dc4f3183a9b
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-10-15 (Fri, 15 Oct 2021)

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

  Log Message:
  -----------
  [lldb] [ABI/AArch64] Do not add subregs if some of them are present

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.

Differential Revision: https://reviews.llvm.org/D111881




More information about the All-commits mailing list