diff options
author | John Salem <josalem@microsoft.com> | 2019-02-26 10:11:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 10:11:11 -0800 |
commit | d05683140358e69109d126770f8076bfe5090092 (patch) | |
tree | 3c47eb9a3651bf2dcf3e7834cd9ca90f538f0147 /src/vm/mscorlib.h | |
parent | ee755e322dabc2fc280e2561b0fbaf6e90aedf54 (diff) | |
parent | 3d26dad131abc354aeb4388139ecfaafe6cc4c60 (diff) | |
download | coreclr-d05683140358e69109d126770f8076bfe5090092.tar.gz coreclr-d05683140358e69109d126770f8076bfe5090092.tar.bz2 coreclr-d05683140358e69109d126770f8076bfe5090092.zip |
Merge pull request #22841 from josalem/stacktrace-cache-unloading-20179-prechange
Adds collection of `Assembly` objects while walking the stack in `DebugStackTrace::GetStackFrameInternal`
* new field in `StackFrameHelper` in both managed and native (plus mscorlib macro definition)
* retrieved via `methodDesc->GetAssembly()->GetDomainAssembly()->GetExposedAssemblyObject()`
Calls `GetSourceLineInfo` with delegate signature that *does not* consume an `Assembly`. As a result, this there will be a follow up change to call the updated version after it exists in CoreFX.
#20179
Diffstat (limited to 'src/vm/mscorlib.h')
-rw-r--r-- | src/vm/mscorlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/mscorlib.h b/src/vm/mscorlib.h index 52e4508446..c6d6b05aae 100644 --- a/src/vm/mscorlib.h +++ b/src/vm/mscorlib.h @@ -760,6 +760,7 @@ DEFINE_FIELD_U(rgiILOffset, StackFrameHelper, rgiILOffset) DEFINE_FIELD_U(dynamicMethods, StackFrameHelper, dynamicMethods) DEFINE_FIELD_U(rgMethodHandle, StackFrameHelper, rgMethodHandle) DEFINE_FIELD_U(rgAssemblyPath, StackFrameHelper, rgAssemblyPath) +DEFINE_FIELD_U(rgAssembly, StackFrameHelper, rgAssembly) DEFINE_FIELD_U(rgLoadedPeAddress, StackFrameHelper, rgLoadedPeAddress) DEFINE_FIELD_U(rgiLoadedPeSize, StackFrameHelper, rgiLoadedPeSize) DEFINE_FIELD_U(rgInMemoryPdbAddress, StackFrameHelper, rgInMemoryPdbAddress) |