-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add debug information for runtime async methods #120303
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
Merged
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
b7bb968
Set target method desc for resumption stubs
jakobbotsch d5d0864
Add JIT-EE boilerplate
jakobbotsch d7277fb
Add debug information for runtime async information
jakobbotsch 6addd0e
Update managed view
jakobbotsch 6a5bf19
Remove TODOs
jakobbotsch 262260a
Leaf transition
jakobbotsch 4e2a829
Comment
jakobbotsch 820afa9
Delete unused enum
jakobbotsch 3621eae
Restore comment
jakobbotsch f597424
Fix osx build
jakobbotsch 6bb6cee
Fix GCC build
jakobbotsch f580e3f
Change sentinel value, fix contract
jakobbotsch 55b9522
Bump R2R
jakobbotsch c9c64be
Clean up
jakobbotsch db77446
Expose async debug info accessor APIs
jakobbotsch c808390
Missed bumping R2R version for naot
jakobbotsch 3ec5160
Fix reverse mapping to IL local nums
jakobbotsch bb12c77
Fix monotonicity for async vars
jakobbotsch bf3364b
Code style
jakobbotsch b49f38f
Fix JIT-EE prompt tools from Egor's instructions, allow use of experi…
jakobbotsch d1bf49f
Address feedback, make comment less misleading
jakobbotsch 579714e
Add AsyncContinuationVarInfo.GCIndex
jakobbotsch c056793
Publish NextContinuation in TLS
jakobbotsch 9679f91
Rename ThunkTask -> RuntimeAsyncTask
jakobbotsch 7a34475
Merge branch 'main' of github.com:dotnet/runtime into jit-async-diagn…
jakobbotsch e839409
Report native offsets instead
jakobbotsch d8ad0c1
Run jit-format
jakobbotsch 9fdd8a7
Print reported async debug info, always report it
jakobbotsch 69e02db
Store target IPs in AsyncResumeILStubResolver
jakobbotsch 68c245b
Fix bug
jakobbotsch 2031f08
Remove BBF_INTERNAL from rethrow BB to avoid broken mappings
jakobbotsch b7576b2
Trampolines for resumption
jakobbotsch 03f85ec
Merge branch 'main' of github.com:dotnet/runtime into jit-async-diagn…
jakobbotsch 06fea81
Fix after merge
jakobbotsch 29d8998
Enable runtime async testing
jakobbotsch cb7a943
Undo changes
jakobbotsch 879ec4f
Hacky late Friday GC issue fix
jakobbotsch 0749688
Fix 32 bit build
jakobbotsch 6bcc004
Last block no longer always results in the last IG
jakobbotsch 286baf9
Merge branch 'main' of github.com:dotnet/runtime into jit-async-diagn…
jakobbotsch 8cf3a72
Fix after merge
jakobbotsch 3096aa8
Run jit-format
jakobbotsch 9f913f3
Clean up
jakobbotsch 85bd57a
Fix arm32
jakobbotsch 43c5710
Revert "Store target IPs in AsyncResumeILStubResolver"
jakobbotsch dc9c7d8
Allocate constant resume info data and point continuations at it
jakobbotsch eadab40
Remove unnecessary intermediate type
jakobbotsch d57fc4d
Go back to not reporting async debug info unless requested
jakobbotsch 1308e96
Insert ASYNC mappings in resume and suspension code
jakobbotsch bd99f2c
Fix arm arch codegen, fix LA64/RISCV64 builds
jakobbotsch ffa76fa
Clean up, revert unnecessary changes
jakobbotsch b7f2e61
Merge branch 'main' of github.com:dotnet/runtime into jit-async-diagn…
jakobbotsch 07bf137
Update after merge
jakobbotsch cd0e601
Disable async testing
jakobbotsch e016f77
Function headers
jakobbotsch a9d5243
Address feedback
jakobbotsch d4c2b9e
Fix crossgen2 reportAsyncDebugInfo
jakobbotsch fabea2d
Clean up, remove paranoia code
jakobbotsch 1762f19
Point IL offsets at await call
jakobbotsch ed3da47
Clean ups
jakobbotsch 8c69bf9
Encode async continuation layouts as part of `NativeVarInfo`
jakobbotsch 092bd67
Revert "Encode async continuation layouts as part of `NativeVarInfo`"
jakobbotsch 96b0f88
Avoid reporting continuation parameter in debug info
jakobbotsch fb09144
Add `AsyncSuspensionPoint::FinalResumeNativeOffset`
jakobbotsch 161e180
Further changes to ResumeInfo diagnostic IP
jakobbotsch a5a2e16
Avoid marking async mappings as label mappings
jakobbotsch f4f7fff
Fix comment
jakobbotsch 7b8b9b0
Point DiagnosticIP at suspension code
jakobbotsch e9cef1c
Update comment
jakobbotsch bc2f780
Set proper IL offset ranges when splitting user code for async calls
jakobbotsch ea96acc
Address feedback
jakobbotsch 959be11
Make `DispatcherInfo` have explicit layout
jakobbotsch 4061420
Address some feedback, add a missing field
jakobbotsch 54bab6d
Fix a comment
jakobbotsch c84f027
Fix r2rdump reading of bounds
jakobbotsch 9f497bd
Bump debug info contract version
jakobbotsch 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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.