diff options
author | Oliver Chang <ochang@chromium.org> | 2015-12-18 15:56:06 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-12-18 15:56:06 -0800 |
commit | 38cecc343561395cad8a33889f91c1a254ca1f73 (patch) | |
tree | e041f6c5cce5d68d5139c7c7ee71af65769886d4 /build | |
parent | b5385ba5d0c616cd4af994b2a9d674588086f75c (diff) | |
download | pdfium-38cecc343561395cad8a33889f91c1a254ca1f73.tar.xz |
Add a LSan suppressions file.
Also defines ADDRESS_SANITIZER and LEAK_SANITIZER for ASan builds.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1540433004 .
Diffstat (limited to 'build')
-rw-r--r-- | build/standalone.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi index 60e2ee4b12..cdf6598438 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -273,6 +273,10 @@ ], }], ['asan==1', { + 'defines': [ + 'ADDRESS_SANITIZER', + 'LEAK_SANITIZER', + ], 'cflags': [ '-fsanitize=address', '-gline-tables-only', |