gcc: support address sanitizer

This commit is contained in:
Gregory Hainaut committed 2014-07-12 19:57:26 +02:00
1 parent 8c03d50421
commit c60fefa1a6
5 files changed
+18 -7

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ void vmfree(void* ptr, size_t size)
// declare linux equivalents (alignment must be power of 2 (1,2,4...2^15)
#if !defined(__USE_ISOC11)
#if !defined(__USE_ISOC11) || defined(ASAN_WORKAROUND)
void* _aligned_malloc(size_t size, size_t alignment)
{