-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling Full Info Points on AArch64 causes compile failures #4542
Comments
@teshull, sounds like |
hmm. I'm off the rest of this week, but I'll look into it the beginning of next week |
Thanks a lot! |
Hi Tom, Thanks for taking a look at this. |
@teshull I discussed a possible fix here #4505 (comment) |
fixed by #4565 |
** Describe the Problem**
The latest patch for debug info (PR #4505) modifies the
GraphBuilderConfiguration
to enable full info point generation.This is not a problem on x86_64. However, it leads to multiple compile failures on AArch64. They all occur because
LocationMarkerPhase.processState()
has been passed aFullInfopointNode
referencing a live value in the link registerlr
akar30
.The reference map builder assumes that
lr
is a callee saved register which is why it ends up callingCalleeSavedRegisters.getOffsetInFrame
. Unfortunately, when the call togetOffsetInFrame
looks uplr
in the map stored in fieldoffsetsInSaveArea
the result isnull
leading to a NPE.Steps to reproduce the issue
Path 1:
1 Clone the repo from #4505
git clone git://github.com/adinn/graal debug_location_info
2 Build on Linux/AArch64
mx build
3 Run the debug info test
mx debuginfotest
Path 2:
1 Clone the Oracle master
2) Modify class SVMHost.updateGraphBuilderConfiguration to always enable full infopoints
mx build
4 Run the debug info test
mx debuginfotest
Describe GraalVM and your environment:
The text was updated successfully, but these errors were encountered: