Skip to content
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

Implement Exception.get_TargetSite #856

Merged
merged 2 commits into from
Mar 26, 2021

Conversation

MichalStrehovsky
Copy link
Member

Seemed easy enough.

@MichalStrehovsky MichalStrehovsky added the area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation label Mar 25, 2021
…ion.CoreRT.cs

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
@jkotas jkotas merged commit 2afe840 into dotnet:feature/NativeAOT Mar 26, 2021
@MichalStrehovsky MichalStrehovsky deleted the targetsite branch March 26, 2021 15:11
jkotas pushed a commit that referenced this pull request Apr 25, 2023
* Avoid setting GTF_GLOB_REF on GT_FIELD_ADDR nodes
* Avoid setting GTF_GLOB_REF on GT_FIELD nodes off of implicit byrefs.
  This is ok now since implicit byref morphing indiscriminately sets
  GTF_GLOB_REF for these.
* Manually clone a "pointer to span" in span intrinsic expansion when it points to a local. Unfortunately this does not fall out from the above since gtClone does not handle FIELD_ADDR, and making it handle this needs some more work.

These changes are necessary to avoid address exposure in the two user
benchmarks in #83388.

Fix #74563
Fix #856
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants