#include "typeprinter.h"
#include "platform.h"
#include "symbolreader.h"
+#include "modules.h"
static const char *g_nonUserCode = "System.Diagnostics.DebuggerNonUserCodeAttribute..ctor";
static const char *g_stepThrough = "System.Diagnostics.DebuggerStepThroughAttribute..ctor";
"op_DivisionAssignment" // /=
};
-bool ShouldLoadSymbolsForModule(const std::string &moduleName)
+bool Modules::ShouldLoadSymbolsForModule(const std::string &moduleName)
{
std::string name = GetFileName(moduleName);
if (name.find("System.") == 0 || name.find("SOS.") == 0)
return S_OK;
}
-HRESULT SetJMCFromAttributes(ICorDebugModule *pModule, SymbolReader *symbolReader)
+HRESULT Modules::SetJMCFromAttributes(ICorDebugModule *pModule, SymbolReader *symbolReader)
{
std::vector<mdToken> excludeTokens;
#include "platform.h"
#include "modules.h"
-// JMC
-bool ShouldLoadSymbolsForModule(const std::string &moduleName);
-HRESULT SetJMCFromAttributes(ICorDebugModule *pModule, SymbolReader *symbolReader);
void Modules::CleanupAllModules()
{
std::string GetModuleFileName(ICorDebugModule *pModule);
+ static bool ShouldLoadSymbolsForModule(const std::string &moduleName);
+ static HRESULT SetJMCFromAttributes(ICorDebugModule *pModule, SymbolReader *symbolReader);
+
public:
struct SequencePoint {