forked from OSchip/llvm-project
[sanitizer] Quick fix for non-Linux build
This commit is contained in:
parent
e15f424cf9
commit
bbd4ebffd4
|
@ -126,8 +126,10 @@ void InitializeCommonFlags(CommonFlags *cf) {
|
|||
cf->coverage |= cf->html_cov_report;
|
||||
SetVerbosity(cf->verbosity);
|
||||
|
||||
if (SANITIZER_ANDROID && !HAS_ANDROID_THREAD_PROPERTIES_API)
|
||||
#if SANITIZER_ANDROID
|
||||
if (!HAS_ANDROID_THREAD_PROPERTIES_API)
|
||||
cf->detect_leaks = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace __sanitizer
|
||||
|
|
Loading…
Reference in New Issue