summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHeon Jung <dheon.jung@samsung.com>2019-07-18 17:28:55 +0900
committerKonstantin Baladurin <k.baladurin@samsung.com>2019-09-26 00:24:34 +0300
commit2ce19410ea72ddf340c16c44d911563c6b8de060 (patch)
treeccf0b0541424517f174d4830e1f883aa8c989227
parent90b0bdcd9e03a5b3ec1ffee19a9604f816496d5f (diff)
downloadcoreclr-2ce19410ea72ddf340c16c44d911563c6b8de060.tar.gz
coreclr-2ce19410ea72ddf340c16c44d911563c6b8de060.tar.bz2
coreclr-2ce19410ea72ddf340c16c44d911563c6b8de060.zip
[Tizen] Disable IBC Logger as a default
- Profile information is collected by ibc logger. Hower it is not used and saved into profile file. - The patch disables IBC logger which is enabled by default. - It disables IBC logger only with ibclogger.h file. IBCLOGGER_ENABLED definition is only used in ibclogger files.
-rw-r--r--clrdefinitions.cmake4
-rw-r--r--src/vm/ibclogger.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index 22c9c5967f..2cdbdcc0f4 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -162,6 +162,10 @@ if (CLR_CMAKE_PLATFORM_LINUX OR WIN32)
endif(CLR_CMAKE_PLATFORM_LINUX OR WIN32)
add_definitions(-DFEATURE_MANAGED_ETW_CHANNELS)
+if(FEATURE_IBCLOGGER)
+ add_definitions(-DFEATURE_IBCLOGGER)
+endif(FEATURE_IBCLOGGER)
+
if(FEATURE_MERGE_JIT_AND_ENGINE)
add_definitions(-DFEATURE_MERGE_JIT_AND_ENGINE)
endif(FEATURE_MERGE_JIT_AND_ENGINE)
diff --git a/src/vm/ibclogger.h b/src/vm/ibclogger.h
index deed372ede..3f1dc1e7ff 100644
--- a/src/vm/ibclogger.h
+++ b/src/vm/ibclogger.h
@@ -40,7 +40,7 @@ typedef PTR_VOID HashDatum;
typedef Pair< Module*, mdToken > RidMapLogData;
-#if !defined(DACCESS_COMPILE) && !defined(CROSSGEN_COMPILE)
+#if !defined(DACCESS_COMPILE) && !defined(CROSSGEN_COMPILE) && defined(FEATURE_IBCLOGGER)
#define IBCLOGGER_ENABLED
#endif