folly: add a FOLLY_SANITIZE_ADDRESS macro to Portability.h
authorAndrew Gallagher <agallagher@fb.com>
Fri, 20 Sep 2013 11:28:39 +0000 (04:28 -0700)
committerPeter Griess <pgriess@fb.com>
Tue, 15 Oct 2013 01:43:24 +0000 (18:43 -0700)
commitd3468ea855d7f23f8cd6e1a570311ef57a7e004e
treeb21e591b4d2729d3e528afe94fbf3aad3fe14a73
parent464cc74d12be1772fb4846bf9a3c19b37024f6a7
folly: add a FOLLY_SANITIZE_ADDRESS macro to Portability.h

Summary:
Defines a macro to portably test whether address sanitizer is
enabled across the different compilers we use.

Test Plan:
Compiled source file with address sanitizer and verified macro
was defined.

Reviewed By: delong.j@fb.com

FB internal diff: D978196
folly/Portability.h