1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/BinaryFormat
Luke Cheeseman 05f11dbf44 [AArch64] - Return address signing dwarf support
Functions that have signed return addresses need additional dwarf support:
- After signing the LR, and before authenticating it, the LR register is in a
  state the is unusable by a debugger or unwinder
- To account for this a new directive, .cfi_negate_ra_state, is added
- This directive says the signed state of the LR register has now changed,
  i.e. unsigned -> signed or signed -> unsigned
- This directive has the same CFA code as the SPARC directive GNU_window_save
  (0x2d), adding a macro to account for multiply defined codes
- This patch matches the gcc implementation of this support:
  https://patchwork.ozlabs.org/patch/800271/

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

llvm-svn: 343089
2018-09-26 10:14:15 +00:00
..
CMakeLists.txt [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
Dwarf.cpp [AArch64] - Return address signing dwarf support 2018-09-26 10:14:15 +00:00
LLVMBuild.txt
Magic.cpp Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
MsgPackReader.cpp [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
MsgPackWriter.cpp Fix undefined behavior in r340457 2018-08-23 02:51:09 +00:00
Wasm.cpp [WebAssembly] clang-format (NFC) 2018-09-05 01:27:38 +00:00