summaryrefslogtreecommitdiff
path: root/src/debug/ee/frameinfo.h
diff options
context:
space:
mode:
authorSteve MacLean <Steve.MacLean@microsoft.com>2019-10-22 16:58:15 -0400
committerHyungju Lee <leee.lee@samsung.com>2020-10-30 18:27:38 +0900
commitbe1aa1bf368dd47765d429ee0e557d8cb26f9bfd (patch)
tree6121d87a7d7a547b18e4bb1f8f2021af23d223aa /src/debug/ee/frameinfo.h
parent4c3b471c380dcc01579c18ae5756480d27cd1ea1 (diff)
downloadcoreclr-be1aa1bf368dd47765d429ee0e557d8cb26f9bfd.tar.gz
coreclr-be1aa1bf368dd47765d429ee0e557d8cb26f9bfd.tar.bz2
coreclr-be1aa1bf368dd47765d429ee0e557d8cb26f9bfd.zip
* Make ControllerStackInfo::m_returnFrame private * Make ControllerStackInfo always capture a return frame In case the active frame has no managed caller, capture the unmanaged frame * Fix step over stackalloc Generalize handling of stack allocations and stepping * Fix GetFunctionFromToken() argument checking Check token type is a method before creating a CordbFunction. Add extra assert to check for invalid tokens
Diffstat (limited to 'src/debug/ee/frameinfo.h')
-rw-r--r--src/debug/ee/frameinfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/ee/frameinfo.h b/src/debug/ee/frameinfo.h
index c4079029b8..990cf1b165 100644
--- a/src/debug/ee/frameinfo.h
+++ b/src/debug/ee/frameinfo.h
@@ -130,7 +130,7 @@ public:
// Does this FrameInfo represent a method frame? (aka a frameless frame)
// This may be combined w/ both StubFrames and ChainMarkers.
- bool HasMethodFrame() { return md != NULL && !internal; }
+ bool HasMethodFrame() const { return md != NULL && !internal; }
// Is this frame for a stub?
// This is mutually exclusive w/ Chain Markers.
@@ -138,14 +138,14 @@ public:
// M2U transition may have the Method for the Managed Wrapper for the unmanaged call.
// Stub frames map to internal frames on the RS. They use the same enum
// (CorDebugInternalFrameType) to represent the type of the frame.
- bool HasStubFrame() { return eStubFrameType != STUBFRAME_NONE; }
+ bool HasStubFrame() const { return eStubFrameType != STUBFRAME_NONE; }
// Does this FrameInfo mark the start of a new chain? (A Frame info may both
// start a chain and represent a method)
- bool HasChainMarker() { return chainReason != CHAIN_NONE; }
+ bool HasChainMarker() const { return chainReason != CHAIN_NONE; }
// Helper functions for retrieving the DJI and the DMI
- DebuggerJitInfo * GetJitInfoFromFrame();
+ DebuggerJitInfo * GetJitInfoFromFrame() const;
DebuggerMethodInfo * GetMethodInfoFromFrameOrThrow();
// Debug helper which nops in retail; and asserts invariants in debug.