-
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
[cdac] Implement GetThreadStoreData in cDAC #102404
Conversation
Tagging subscribers to this area: @tommcdon |
fe09ad6
to
890f9c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -105,14 +105,21 @@ CDAC_TYPES_BEGIN() | |||
|
|||
CDAC_TYPE_BEGIN(Thread) | |||
CDAC_TYPE_INDETERMINATE(Thread) | |||
CDAC_TYPE_FIELD(Thread, /*uint32*/, Id, cdac_offsets<Thread>::Id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this comment type. Is that intentional going forward or a temporary mechanism?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type is optional as a mechanism for making the descriptor more compact. I left it off for these (and just put the comment), since I wasn't checking them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, although I'm not a huge fan of the TryGet TryRegister pattern.
GetThreadStoreData
andGetThreadCounts
inThread
contractISOSDacInterface::GetThreadStoreData
in cDACGetThreadData
if availableContributes to #99298
cc @lambdageek