Bug 1215730 - Disable leak checking for screentopng in ASan builds. r=ted

This commit is contained in:
Andrew McCreight 2015-10-21 10:58:00 -04:00
parent ec9c626c4c
commit 3423935766

View File

@ -159,3 +159,11 @@ int main(int argc, char** argv)
return 0;
}
// These options are copied from mozglue/build/AsanOptions.cpp
#ifdef MOZ_ASAN
extern "C"
const char* __asan_default_options() {
return "allow_user_segv_handler=1:alloc_dealloc_mismatch=0:detect_leaks=0";
}
#endif