-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
NativeAOT: Memset/Memcpy helpers don't throw NRE #95517
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsCompile the following program and run: static unsafe void Main(string[] args)
{
Unsafe.InitBlock(null, 0, 1000);
} CoreCLR:
NativeAOT:
I assume this is what these comments mean: runtime/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/JitHelper.cs Lines 118 to 123 in 3e55167
(while CoreCLR wraps memset/memcpy calls into non-inlineable/without tail calls helpers)
|
This can happen when unboxing tries to use
Instead of getting a |
Compile the following program and run:
CoreCLR:
NativeAOT:
I assume this is what these comments mean:
runtime/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/JitHelper.cs
Lines 118 to 123 in 3e55167
so I decided to file a tracking issue.
(while CoreCLR wraps memset/memcpy calls into non-inlineable/without tail calls helpers)
The text was updated successfully, but these errors were encountered: