Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 3 additions & 41 deletions src/SOS/Strike/strike.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3950,43 +3950,8 @@ DECLARE_API(RCWCleanupList)
#endif // FEATURE_COMINTEROP

enum {
// These are the values set in m_dwTransientFlags.
// Note that none of these flags survive a prejit save/restore.

MODULE_IS_TENURED = 0x00000001, // Set once we know for sure the Module will not be freed until the appdomain itself exits
// unused = 0x00000002,
CLASSES_FREED = 0x00000004,
// This value is set in m_dwTransientFlags.
IS_EDIT_AND_CONTINUE = 0x00000008, // is EnC Enabled for this module

IS_PROFILER_NOTIFIED = 0x00000010,
IS_ETW_NOTIFIED = 0x00000020,

//
// Note: the order of these must match the order defined in
// cordbpriv.h for DebuggerAssemblyControlFlags. The three
// values below should match the values defined in
// DebuggerAssemblyControlFlags when shifted right
// DEBUGGER_INFO_SHIFT bits.
//
DEBUGGER_USER_OVERRIDE_PRIV = 0x00000400,
DEBUGGER_ALLOW_JIT_OPTS_PRIV= 0x00000800,
DEBUGGER_TRACK_JIT_INFO_PRIV= 0x00001000,
DEBUGGER_ENC_ENABLED_PRIV = 0x00002000, // this is what was attempted to be set. IS_EDIT_AND_CONTINUE is actual result.
DEBUGGER_PDBS_COPIED = 0x00004000,
DEBUGGER_IGNORE_PDBS = 0x00008000,
DEBUGGER_INFO_MASK_PRIV = 0x0000Fc00,
DEBUGGER_INFO_SHIFT_PRIV = 10,

// Used to indicate that this module has had it's IJW fixups properly installed.
IS_IJW_FIXED_UP = 0x00080000,
IS_BEING_UNLOADED = 0x00100000,

// Used to indicate that the module is loaded sufficiently for generic candidate instantiations to work
MODULE_READY_FOR_TYPELOAD = 0x00200000,

// Used during NGen only
TYPESPECS_TRIAGED = 0x40000000,
MODULE_SAVED = 0x80000000,
};

void ModuleMapTraverse(UINT index, CLRDATA_ADDRESS methodTable, LPVOID token)
Expand Down Expand Up @@ -4056,6 +4021,8 @@ DECLARE_API(DumpModule)
ExtOut("PEFile ");
if (module.bIsReflection)
ExtOut("Reflection ");
if (module.dwTransientFlags & IS_EDIT_AND_CONTINUE)
ExtOut("EditAndContinue ");

ToRelease<IXCLRDataModule> dataModule;
if (SUCCEEDED(g_sos->GetModule(TO_CDADDR(p_ModuleAddr), &dataModule)))
Expand All @@ -4073,11 +4040,6 @@ DECLARE_API(DumpModule)
}
ExtOut("\n");

ExtOut("TransientFlags: %08x ", module.dwTransientFlags);
if (module.dwTransientFlags & IS_EDIT_AND_CONTINUE)
ExtOut("IS_EDIT_AND_CONTINUE");
ExtOut("\n");

DMLOut("Assembly: %s\n", DMLAssembly(module.Assembly));

ExtOut("BaseAddress: %p\n", SOS_PTR(module.ilBase));
Expand Down