Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

TIHan
Copy link
Contributor

@TIHan TIHan commented Mar 22, 2024

Will resolve #100125

The IL offsets in expanding static init is really tricky as a lot happens here, even in Debug compilations. Such as, user statements can actually be modified, as well as user blocks.

Since this is only limited to expanding static init calls, the quickest and easiest solution is to simply set the block's ending offset to BAD_IL_OFFSET.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 22, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@TIHan
Copy link
Contributor Author

TIHan commented Mar 22, 2024

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@TIHan
Copy link
Contributor Author

TIHan commented Mar 22, 2024

cc @AndyAyersMS @MichalStrehovsky

@filipnavara
Copy link
Member

The tests in NativeAOT are disable with a comment pointing to https://github.com/dotnet/runtime/issues/100125. You should probably enable them and re-run the NativeAOT outerloop.

@TIHan
Copy link
Contributor Author

TIHan commented Mar 22, 2024

@filipnavara thanks, I didn't realize that. I'll re-enable them.

@TIHan
Copy link
Contributor Author

TIHan commented Mar 22, 2024

/azp run runtime-nativeaot-outerloop

@TIHan
Copy link
Contributor Author

TIHan commented Mar 22, 2024

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assertion failed 'lastBlockILEndOffset < beginOffs'
3 participants