FailedChanges

Summary

  1. [ELF] Add a new e_machine value EM_CSKY and add some CSKY relocation types (details)
  2. Move targetHasSVE function to lldbtest.py (details)
  3. When dumping results of StackLifetime, it will print the following (details)
  4. Move NativeRegisterContextLinux/RegisterContextPOSIX*_arm to RegisterInfoAndSetInterface (details)
Commit 69f2c79f2ad2c3ebdb000cb1311612db7bd2bef8 by zixuan.wu
[ELF] Add a new e_machine value EM_CSKY and add some CSKY relocation types

This is the split part of D86269, which add a new ELF machine flag called EM_CSKY and related relocations.
Some target-specific flags and tests for csky can be added in follow-up patches later.

Differential Revision: https://reviews.llvm.org/D86610
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
The file was modifiedllvm/unittests/Object/ELFObjectFileTest.cpp
The file was addedllvm/include/llvm/BinaryFormat/ELFRelocs/CSKY.def
The file was modifiedllvm/lib/Object/ELF.cpp
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
Commit 9bee13f89085b08e4e8e24c51c11526fcef6efe1 by omair.javaid
Move targetHasSVE function to lldbtest.py

targetHasSVE helper function was added to test for availability of SVE support
by connected platform. We now intend to use this function in other testcases
and I am moving it to a generic location in lldbtest.py to allow usage by
other upcoming testcases.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D86872
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py
Commit 1fd7dc40748b17d8fc47ef1ebede9df61e973056 by dongaxis
When dumping results of StackLifetime, it will print the following
log:

BB  [7, 8): begin {}, end {}, livein {}, liveout {}
BB  [1, 2): begin {}, end {}, livein {}, liveout {}
...

But it is not convenient to know what the basic block is.
So I add the basic block name to it.

Reviewed By: vitalybuka
TestPlan: check-llvm
Differential Revision: https://reviews.llvm.org/D87152
The file was modifiedllvm/lib/Analysis/StackLifetime.cpp
Commit 76953321666617bcace6b067ebdde92dd9313a92 by omair.javaid
Move NativeRegisterContextLinux/RegisterContextPOSIX*_arm to RegisterInfoAndSetInterface

This patch removes register set definitions and other redundant code from
NativeRegisterContextLinux/RegisterContextPOSIX*_arm. Register sets are now
moved under RegisterInfosPOSIX_arm which now uses RegisterInfoAndSetInterface.
This is similar to what we earlier did for AArch64.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D86962
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.h
The file was modifiedlldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp
The file was modifiedlldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp
The file was modifiedlldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.h
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h
The file was modifiedlldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm.h