forked from mirrors/gecko-dev
Bug 1215730 - Disable leak checking for screentopng in ASan builds. r=ted
This commit is contained in:
parent
176b60b4a8
commit
1897037288
1 changed files with 8 additions and 0 deletions
|
|
@ -159,3 +159,11 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
return 0;
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue