On Fri, 23 Jan 2026 13:27:19 GMT, Yasumasa Suenaga <[email protected]> wrote:

>> Right, we have been here before with recognising symbols when PC is off the 
>> end of the defined symbol size in a different issue.  I think then we (you!) 
>> tried hard not to simply recognise all symbols as being a byte larger than 
>> they really are.  
>> 
>> sym->size for the specific symbol we care about here is zero?  Yes I'm 
>> seeing 0 size for __restore_rt also.
>> 
>> Comparing offset == sym->offset as an alternative condition, without using 
>> sym->size would work?
>
> Good catch! But I feel conditions in `if` statement long a bit. So I added 
> convenience function to check address range as `is_in()` and it works. How 
> about this?

Yes no problem with that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29023#discussion_r2721279690

Reply via email to