summaryrefslogtreecommitdiff
path: root/src/ToolBox/SOS
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2016-03-29 18:03:01 -0700
committerMike McLaughlin <mikem@microsoft.com>2016-03-30 20:27:46 -0700
commit0572670952204fe3d861044a5a6b7c5297de80d0 (patch)
tree15c028251f219f4dce9da45968ff1a846c619582 /src/ToolBox/SOS
parent1bc24d14dce4876197492211f4989b656f08aedb (diff)
downloadcoreclr-0572670952204fe3d861044a5a6b7c5297de80d0.tar.gz
coreclr-0572670952204fe3d861044a5a6b7c5297de80d0.tar.bz2
coreclr-0572670952204fe3d861044a5a6b7c5297de80d0.zip
Add back explicitly loading mscordaccore so libsos will properly load when installed at a different location than it was built.
Diffstat (limited to 'src/ToolBox/SOS')
-rw-r--r--src/ToolBox/SOS/lldbplugin/soscommand.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ToolBox/SOS/lldbplugin/soscommand.cpp b/src/ToolBox/SOS/lldbplugin/soscommand.cpp
index 5d478086a3..888cae416c 100644
--- a/src/ToolBox/SOS/lldbplugin/soscommand.cpp
+++ b/src/ToolBox/SOS/lldbplugin/soscommand.cpp
@@ -92,6 +92,10 @@ public:
if (g_coreclrDirectory != NULL)
{
+ // Load the DAC module first explicitly because SOS and DBI
+ // have implicit references to the DAC's PAL.
+ LoadModule(services, MAKEDLLNAME_A("mscordaccore"));
+
m_sosHandle = LoadModule(services, MAKEDLLNAME_A("sos"));
}
}