-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[CoreCLR/NativeAOT] UnsafeAccessorAttribute non-generic support
#86932
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
Merged
AaronRobinsonMSFT
merged 55 commits into
dotnet:main
from
AaronRobinsonMSFT:runtime_86161
Jun 15, 2023
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
0e18368
General cleanup
AaronRobinsonMSFT 292da73
Prototype for UnsafeAccessorAttribute
AaronRobinsonMSFT 40111fa
Remove IsUnsafeAccessor flag from MethodDesc
AaronRobinsonMSFT 0191e0d
Cleanup memory managment confusion
AaronRobinsonMSFT ef239fb
Fix non-standard C++
AaronRobinsonMSFT a396e04
Add UnsafeAccessorAttribute API
AaronRobinsonMSFT 6437420
C++ clean-up
AaronRobinsonMSFT b24717a
Return missing(field/method) HRESULT when
AaronRobinsonMSFT edd7fb7
Implement IL generation for all accessor paths
AaronRobinsonMSFT 03a9ef3
Implement static/instance field lookup
AaronRobinsonMSFT d771f04
Implement static/instance method lookup
AaronRobinsonMSFT 02267ff
Alter member names for clarity.
AaronRobinsonMSFT e911d3a
Add libraries tests
AaronRobinsonMSFT c6dbb50
Remove CORINFO_MODULE_ALLACCESS scope
AaronRobinsonMSFT 9864b45
Fix message buffer
AaronRobinsonMSFT 60c38dd
Throw exceptions instead of returning HRESULT.
AaronRobinsonMSFT 10b9c75
Update visibility check API
AaronRobinsonMSFT 3e9ee12
Remove enum METHOD_TYPE.
AaronRobinsonMSFT 62f9e81
Disable tests on Mono
AaronRobinsonMSFT a506601
Missing virtual destructor
AaronRobinsonMSFT b8c94bf
Apply suggestions from code review
AaronRobinsonMSFT 636e616
Apply suggestions from code review
AaronRobinsonMSFT 72bc7f5
Add error message for invalid UnsafeAccessor use
AaronRobinsonMSFT 2859b6e
Debugger logging updates
AaronRobinsonMSFT 331f4cc
Update BOTR on TypeDesc
AaronRobinsonMSFT c01080e
Fix type used in message
AaronRobinsonMSFT 1d5c1ab
Support UnsafeAccessor in NativeAOT
AaronRobinsonMSFT 34ada73
Review feedback
AaronRobinsonMSFT a56bc40
Additional test for ctor
AaronRobinsonMSFT a43b3cc
Remove ctor special case lookup
AaronRobinsonMSFT 3da55de
Remove usage of MetaSig
AaronRobinsonMSFT bbe820c
Collect custom modifiers counts
AaronRobinsonMSFT 18a2749
Convert all tests to be runtime tests.
AaronRobinsonMSFT d5ff647
Defined ambiguity logic with respect to
AaronRobinsonMSFT 924cf37
Address ambiguity in NativeAOT
AaronRobinsonMSFT 305aeff
Add all previous tests in libraries into runtime
AaronRobinsonMSFT c169969
Use AmbiguousMatchException
AaronRobinsonMSFT 3b3691f
Move tests to be Pri0 since they are all we have.
AaronRobinsonMSFT f0756b7
Add support in ILAsm
AaronRobinsonMSFT c51e986
Use xplat ARRAY_SIZE.
AaronRobinsonMSFT 12ba472
Remove special handling of empty method in ILASM
AaronRobinsonMSFT efb27a4
Generate accessors that throw specific failures.
AaronRobinsonMSFT d3b0726
NativeAOT error handling was throwing asserts.
AaronRobinsonMSFT 56d733e
Remove catch all for any exception. This code
AaronRobinsonMSFT facc48e
Use declaration method as owner for stubs
AaronRobinsonMSFT 8d92e7e
Review feedback
AaronRobinsonMSFT b446a20
Improve MissingMethodException
AaronRobinsonMSFT 5b67d04
Missed fallback name lookup on NativeAOT.
AaronRobinsonMSFT 3663bad
Tests for calling convention bits on NativeAOT.
AaronRobinsonMSFT c2be6fc
Remove block of doc text for generics. Will add
AaronRobinsonMSFT 63f975c
Treat signature calling convention bits like we treat
AaronRobinsonMSFT 869a5f0
Managed and unmanaged function pointers never
AaronRobinsonMSFT c03dc9e
Feedback for throwing exceptions on NativeAOT
AaronRobinsonMSFT a309b06
Merge remote-tracking branch 'upstream/main' into runtime_86161
AaronRobinsonMSFT b957416
Missing NAOT version of error string
AaronRobinsonMSFT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Throw exceptions instead of returning HRESULT.
- Loading branch information
commit 60c38dd073b6c88c35d52c0d0988af26a18559f5
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.