ramosian-glider / sanitizers

0 stars 0 forks source link

unify system-dependent macros #137

Closed ramosian-glider closed 9 years ago

ramosian-glider commented 9 years ago

Originally reported on Google Code with ID 136

we have a wide range of system-dependent macros used across asan/tsan/msan code. 
We need to define things like

SANITIZER_ANDROID
SANITIZER_WIN64
SANITIZER_WIN32
SANITIZER_LINUX
SANITIZER_APPLE

in sanitizer_common/sanitizer_internal_defs.h (all should have either 0 or 1 value)

And get rid of all the other macros (ANDROID, __ANDROID__, __linux__, APPLE, _MSC_VER,
_WIN32, _WIN64, etc. 

eugenis, please do the android part first (because the tests are broken on android
as of r170099)

Reported by konstantin.s.serebryany on 2012-12-13 05:46:44

ramosian-glider commented 9 years ago

Reported by konstantin.s.serebryany on 2012-12-13 05:47:06

ramosian-glider commented 9 years ago

Reported by eugenis@google.com on 2013-03-19 06:33:48

ramosian-glider commented 9 years ago
This is mostly done. I also fixed an issue with ThreadNames test caused by the use of
ANDROID instead of __ANDROID__.

Reported by eugenis@google.com on 2013-03-20 08:56:32

ramosian-glider commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Reported by ramosian.glider on 2015-07-30 09:13:40