Uh oh!
There was an error while loading. Please reload this page.
Cache the path on Module for easier diagnostics - #106103
Conversation
Tagging subscribers to this area: @mangod9 |
Module for eaiser diagnosticsModule for easier diagnosticsUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jkotas
commented
Aug 8, 2024
SString works well for temporary values - method arguments, locals, etc. It works poorly as a field with longer lifetime that is potentially accessed by multiple threads (you have to be very careful how you use it to avoid subtle race conditions). I think it is a good idea to avoid exposing SString for the cdac |
AaronRobinsonMSFT
commented
Aug 8, 2024
@lambdageek You would think marking something |
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
elinor-fung
commented
Aug 9, 2024
Re: lifetime and
|
Uh oh!
There was an error while loading. Please reload this page.
a65c3ce to
b2062d4Compare
davidwrighton
left a comment
There was a problem hiding this comment.
Looks good to me. Long term, I'd like to see us stop using an SString as a field at all on PEImage, but we can do that some other time.
PEImagetake a path in its constructor and make its member constModuleI'm trying to avoid having to expose PEAssembly/PEImage in data descriptors to the cDAC just to get the module path.
Contributes to #99302
cc @lambdageek@davidwrighton