diff options
Diffstat (limited to 'src/ToolBox/SOS/lldbplugin/sosplugin.cpp')
-rw-r--r-- | src/ToolBox/SOS/lldbplugin/sosplugin.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ToolBox/SOS/lldbplugin/sosplugin.cpp b/src/ToolBox/SOS/lldbplugin/sosplugin.cpp new file mode 100644 index 0000000000..6d43d90823 --- /dev/null +++ b/src/ToolBox/SOS/lldbplugin/sosplugin.cpp @@ -0,0 +1,21 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +#include "sosplugin.h" + +namespace lldb { + bool PluginInitialize (lldb::SBDebugger debugger); +} + +bool +lldb::PluginInitialize (lldb::SBDebugger debugger) +{ +#ifdef _DEBUG + corerunCommandInitialize(debugger); +#endif + sosCommandInitialize(debugger); + setclrpathCommandInitialize(debugger); + setsostidCommandInitialize(debugger); + return true; +} |