-
Notifications
You must be signed in to change notification settings - Fork 4.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
Update ELT profiler tests to include tests when a function returns HFA/HVA struct on Arm64 #54912
Update ELT profiler tests to include tests when a function returns HFA/HVA struct on Arm64 #54912
Conversation
Tagging subscribers to this area: @tommcdon Issue Details
|
3ef78f5
to
a32f5b2
Compare
We talked about this on teams but I realized I never commented here. We need to check if we hit the same condition with function args but otherwise LGTM |
Yes, I will do this today - haven't done this yet as I was sidetracked by other work recently. |
66e785c
to
d8e0b35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Egor! I am not an expert in the arm64 ABI but from what I can see it all looks good
@davmason Found and fixed another issue with System V - we didn't have an actual value of |
I just took a look at the new changes and they all look good to me |
@echesakovMSFT do you know if any other work is needed before this PR is merged? |
@davmason @echesakovMSFT is this PR ready to be merged? |
Egor is on vacation for the month of September, my understanding is that the tests have issues but the product changes should be OK to merge. Can we wait for him to get back, or do we need to split it up and merge just the product changes now? |
Thanks David - I wasn't aware that Egor was on vacation. I'm not aware of a reason to merge immediately, so we can wait until Egor returns. |
@tommcdon I added some cases (Int32x4VarArgStructFunc) that causes failures (most of the failures due to varargs not supported on non-Windows platforms) - I will need to remove the test cases before this PR can be merged. Also I will open a GitHub issue describing what other problems I found. Then we can decide whether they need to be addressed. |
…FA or an HVA to a buffer in memory. Also increase the buffer size to accomodate eight 8-byte values.
…erLeaveTailcallStub helper.
…eNaked and ProfileTailcallNaked helpers - fill it with an actual value instead.
641bf62
to
ac86d03
Compare
Rebased the PR and also removed the failing varargs test cases. |
ProfileArgIterator::GetNextArgAddr
andProfileArgIterator::GetReturnBufferAddr
not properly handling HFA/HVAs on Arm64.ProfileArgIterator::GetReturnBufferAddr
not properly handling struct returned in registers on Linux x64 and macOS x64.rdx
down to a callback inProfileLeaveNaked
andProfileTailcallNaked
helpers.