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 | 96fa50101690f48f0e7a7ffe363a5612d9ecac41 (patch) | |
tree | 2ed2a23e64f762c8cbf95a595b401126f4bcfab6 /src/dwarf2.h | |
parent | 69d9b84cca8354117b9fe9705a4430d789ee599b (diff) | |
download | libunwind_llvm-96fa50101690f48f0e7a7ffe363a5612d9ecac41.tar.gz |
[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
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@349140 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/dwarf2.h')
-rw-r--r-- | src/dwarf2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dwarf2.h b/src/dwarf2.h index 0dcd2ca..58525ee 100644 --- a/src/dwarf2.h +++ b/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 }; |