In PR #31669 for [JDK-8386593](https://bugs.openjdk.org/browse/JDK-8386593), we 
discoverd `DW_CFA_offset_extended` and `DW_CFA_restore_extended` are not 
supported in SA.

GCC on Fedora 44 and Ubuntu 26.04 (at least) generates DWARF instructions in 
below:


  DW_CFA_offset_extended: r79 (v15) at cfa-16
  DW_CFA_advance_loc: 204 to 00000000006646e4
  DW_CFA_restore: r30 (x30)
  DW_CFA_restore: r29 (x29)
  DW_CFA_restore: r19 (x19)
  DW_CFA_restore: r20 (x20)
  DW_CFA_restore_extended: r79 (v15)


We need to add `DW_CFA_offset_extended` and `DW_CFA_restore_extended`, and 
vector registers for AArch64 which are defined in [DWARF for the ArmĀ® 64-bit 
Architecture 
(AArch64)](https://github.com/ARM-software/abi-aa/blob/2025Q4/aadwarf64/aadwarf64.rst#dwarf-register-names).

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - 8388696: DW_CFA_offset_extended and DW_CFA_restore_extended are not 
supported in SA

Changes: https://git.openjdk.org/jdk/pull/31999/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31999&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8388696
  Stats: 81 lines in 3 files changed: 77 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/31999.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31999/head:pull/31999

PR: https://git.openjdk.org/jdk/pull/31999

Reply via email to