On Mon, 29 Jun 2026 01:29:05 GMT, Yasumasa Suenaga <[email protected]> wrote:

>> src/jdk.hotspot.agent/linux/native/libsaproc/dwarf.cpp line 231:
>> 
>>> 229:       default:
>>> 230:         if (!process_arch_specific_dwarf_instructions(op)) {
>>> 231:           print_debug("DWARF: Unknown opcode: 0x%x\n", op);
>> 
>> print_error
>
> I reverted this change to use `print_debug()` because I saw new error at 
> TestJhsdbJstackMixedWithXComp.java on AArch64 (both with/without PAC). It 
> reported `DW_CFA_offset_extended` is not supported.
> 
> As you know SA haven't yet supported all of DWARF instructions, so this 
> message could cause test failure if it appears in stderr. So I think it is 
> better to keep `print_debug()` here.
> (I will implement `DW_CFA_offset_extended` (and other DWARF instructions if 
> there are any others) as another issue(s) after this PR)

Ok. Once you think you have resolved all the unsupported DWARF instructions 
then this can probably go back to print_error so future missing support will be 
detected.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31669#discussion_r3494337381

Reply via email to