summaryrefslogtreecommitdiff
path: root/src/utilcode
diff options
context:
space:
mode:
authorEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-03-26 12:02:55 -0700
committerEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-03-26 12:02:55 -0700
commit8a7814030b140d48c0cd5306a47ba8c51d157ea3 (patch)
tree7afafd4556bf0ee919dac2ed8142131b31620602 /src/utilcode
parent7a564bc5c7a8b7899a09881efd141a1dbe892c50 (diff)
downloadcoreclr-8a7814030b140d48c0cd5306a47ba8c51d157ea3.tar.gz
coreclr-8a7814030b140d48c0cd5306a47ba8c51d157ea3.tar.bz2
coreclr-8a7814030b140d48c0cd5306a47ba8c51d157ea3.zip
Make it possible to write stress log from a module that doesn't have statically liked PAL
Diffstat (limited to 'src/utilcode')
-rw-r--r--src/utilcode/stresslog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilcode/stresslog.cpp b/src/utilcode/stresslog.cpp
index 36212d8f45..24e810fb80 100644
--- a/src/utilcode/stresslog.cpp
+++ b/src/utilcode/stresslog.cpp
@@ -185,7 +185,7 @@ void StressLog::Initialize(unsigned facilities, unsigned level, unsigned maxByt
#endif // _DEBUG
#else // !FEATURE_PAL
- theLog.moduleOffset = (SIZE_T)PAL_GetPalModuleBase();
+ theLog.moduleOffset = (SIZE_T)PAL_GetSymbolModuleBase((void *)StressLog::Initialize);
#endif // !FEATURE_PAL
#if !defined (STRESS_LOG_READONLY)