Build LSAN suppressions into the test binaries.
authormtklein <mtklein@chromium.org>
Thu, 1 Sep 2016 14:06:54 +0000 (07:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 1 Sep 2016 14:06:54 +0000 (07:06 -0700)
commit0590fa549d09bd1b6f26c0d5e470f35efe430d65
tree4e99cc39d774a7365b2771c7a620f2c4cbc012e5
parentf04f99ef0d4a17d46dc5179872cfe126c1b57f6c
Build LSAN suppressions into the test binaries.

This way you don't need to set LSAN_SUPPRESSIONS in your environment...
sort of foolproof this way.

I _think_ the strdup() business from skia:2916 is actually rooted in
libfontconfig, so one suppression should cover both old ones.

I'll leave the file empty until I clean up mention of it in bot recipes.

BUG=skia:2916
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2295153003

CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-ASAN-Trybot

Review-Url: https://codereview.chromium.org/2295153003
BUILD.gn
gyp/bench.gyp
gyp/dm.gypi
tools/LsanSuppressions.cpp [new file with mode: 0644]
tools/lsan.supp