Merge pull request #1962 from chinmaygarde/master

Disable Dart profiling on iOS and MacOS
This commit is contained in:
Chinmay Garde 2015-11-05 12:30:21 -08:00
commit 82cbbef945

View File

@ -80,10 +80,9 @@ static const char* kDartArgs[] = {
// default profile period to 100Hz. This number is suitable for older
// Raspberry Pi devices but quite low for current smartphones.
"--profile_period=1000",
#if (WTF_OS_IOS || WTF_OS_MACOSX) && !defined(NDEBUG)
#if (WTF_OS_IOS || WTF_OS_MACOSX)
// On platforms where LLDB is the primary debugger, SIGPROF signals
// overwhelm LLDB. Since in debug builds, CPU profiling information is
// less useful anyway, vm profiling is disabled to enable a usable debugger.
// overwhelm LLDB.
"--no-profile",
#endif
};