diff options
author | Luke Cheeseman <luke.cheeseman@arm.com> | 2018-12-14 11:30:12 +0000 |
---|---|---|
committer | Luke Cheeseman <luke.cheeseman@arm.com> | 2018-12-14 11:30:12 +0000 |
commit | e1a819e82de87bfd217d73ca74a39d10b46d0a71 (patch) | |
tree | d2d100a78ce79f0bffbe3fd90f02e544c6e754f0 /libunwind/src/dwarf2.h | |
parent | 96408bb04a03b4ac961831c270fd9c996358ee03 (diff) | |
download | bcm5719-llvm-e1a819e82de87bfd217d73ca74a39d10b46d0a71.tar.gz bcm5719-llvm-e1a819e82de87bfd217d73ca74a39d10b46d0a71.zip |
[AArch64][libunwind] Unwinding support for return address signing
- Follow up to revision r342895
- gcc would not build libunwind with the earlier patch as the autia1716
instruction wasn't allowed to be assembled for pre armv8.3a targets
- The autia1716 instruction lives in the hint space encodings so is a valid
instruction for all armv8a targets
- To work around this I have swapped out the autia1716 instruction for the hint
instruction
Differential Revision: https://reviews.llvm.org/D55700
llvm-svn: 349140
Diffstat (limited to 'libunwind/src/dwarf2.h')
-rw-r--r-- | libunwind/src/dwarf2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libunwind/src/dwarf2.h b/libunwind/src/dwarf2.h index 0dcd2ca99ba..58525eea044 100644 --- a/libunwind/src/dwarf2.h +++ b/libunwind/src/dwarf2.h @@ -49,7 +49,10 @@ enum { // GNU extensions DW_CFA_GNU_window_save = 0x2D, DW_CFA_GNU_args_size = 0x2E, - DW_CFA_GNU_negative_offset_extended = 0x2F + DW_CFA_GNU_negative_offset_extended = 0x2F, + + // AARCH64 extensions + DW_CFA_AARCH64_negate_ra_state = 0x2D }; |