>> >> libsanitizer is a third party library, its primary repository is not gcc. >> If we make such change (use __LP64__ instead of __WORDSIZE), we should >> make it upstream first. > > That is true, but it really should change, __WORDSIZE is a glibc private > macro that other programs just shouldn't use.
Ok... I've committed http://llvm.org/viewvc/llvm-project?view=rev&revision=168424 upstream. (This defines SANITIZER_WORDSIZE based on __LP64__ and WIN64). --kcc