diff options
author | Steven Moreland <smoreland@google.com> | 2019-09-26 12:19:07 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-09-26 12:19:07 -0700 |
commit | 84316ecfcd5cdb57d0e41fbe04f9a747f155e24c (patch) | |
tree | f79f5aceda736187485f696a95209ad5eb108580 | |
parent | 5ec2c973de9dde6598b2551d52009ee4af7fbb36 (diff) | |
parent | 33c71b00e25c9cefdef7241cb2566f682c060894 (diff) | |
download | platform_external_python_cpython2-84316ecfcd5cdb57d0e41fbe04f9a747f155e24c.tar.gz platform_external_python_cpython2-84316ecfcd5cdb57d0e41fbe04f9a747f155e24c.tar.bz2 platform_external_python_cpython2-84316ecfcd5cdb57d0e41fbe04f9a747f155e24c.zip |
Merge "Disable leak detection locally." am: b968753ab5 am: 1c13c899cb
am: 33c71b00e2
Change-Id: If27ce3aa849edc5d36dbd3cc2c03d802639b8183
-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"); |