commit | 70a35422b5509a456584b132ad8ce4466af323ea | [log] [tgz] |
---|---|---|
author | Francis Ricci <francisjricci@gmail.com> | Thu Jun 15 11:04:33 2017 -0400 |
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Tue Jul 04 20:24:47 2017 -0700 |
tree | e6aeb89ae078597d372f4831d6a4f176bc9c949c | |
parent | 6eca6c64fabbff55c43a78537e466312524b3acd [diff] |
Ignore current_instance heap allocation when leak sanitizer is enabled Without this patch, any user program that enables LeakSanitizer will see a leak from tcmalloc. Add a weak hook to __lsan_ignore_object, so that if LeakSanitizer is enabled, the allocation can be ignored.