diff options
author | Steven Moreland <smoreland@google.com> | 2019-09-26 12:29:35 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-09-26 12:29:35 -0700 |
commit | a6e64234d41c6b1f2c2ed1a0ec1205b7b2f66025 (patch) | |
tree | f79f5aceda736187485f696a95209ad5eb108580 | |
parent | 2dda75903bfcf23f334e1c86ab1bd8e54cf83d9d (diff) | |
parent | 84316ecfcd5cdb57d0e41fbe04f9a747f155e24c (diff) | |
download | cpython2-a6e64234d41c6b1f2c2ed1a0ec1205b7b2f66025.tar.gz |
Merge "Disable leak detection locally." am: b968753ab5 am: 1c13c899cb am: 33c71b00e2
am: 84316ecfcd
Change-Id: Idae7467210b0ab485377ce62a273fdb91b12bc9f
-rw-r--r-- | Modules/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c index a6edf822d0..ac6c027420 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -149,6 +149,11 @@ usage(int exitcode, char* program) /*NOTREACHED*/ } +// TODO(b/141583221): stop leaks +const char *__asan_default_options() { + return "detect_leaks=0"; +} + static void RunStartupFile(PyCompilerFlags *cf) { char *startup = Py_GETENV("PYTHONSTARTUP"); |