summaryrefslogtreecommitdiff
path: root/src/utilcode
diff options
context:
space:
mode:
authorEugene Zemtsov <e.zemtsov@gmail.com>2015-03-20 02:22:02 -0700
committerEugene Zemtsov <e.zemtsov@gmail.com>2015-03-22 14:42:29 -0700
commit6ad823d1651c2d741f2e746320cc0ec28f520624 (patch)
tree109cc836a96cbdbb72c649cf9b0c52027c6c48aa /src/utilcode
parent76446cc68fdad1ea7c8a63df5174f16135c2b83d (diff)
downloadcoreclr-6ad823d1651c2d741f2e746320cc0ec28f520624.tar.gz
coreclr-6ad823d1651c2d741f2e746320cc0ec28f520624.tar.bz2
coreclr-6ad823d1651c2d741f2e746320cc0ec28f520624.zip
Make stresslog work for libraries other than CoreClr (I need it for DBI)
Introducing of PAL_GetPalModuleBase removes dependency on CoreCLR name for stress log module address.
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 3d1720ccba..36212d8f45 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_GetCoreClrModuleBase();
+ theLog.moduleOffset = (SIZE_T)PAL_GetPalModuleBase();
#endif // !FEATURE_PAL
#if !defined (STRESS_LOG_READONLY)