Alexander Potapenko | 087c65f | 2012-09-20 10:10:01 +0000 | [diff] [blame] | 1 | // Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin. |
2 | |||||
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 3 | // RUN: %clang -fsanitize=address %s -E -dM -target x86_64-darwin | FileCheck %s |
Alexander Potapenko | 68bf16f | 2012-09-24 10:25:24 +0000 | [diff] [blame] | 4 | |
Alexander Potapenko | 087c65f | 2012-09-20 10:10:01 +0000 | [diff] [blame] | 5 | // CHECK: #define _FORTIFY_SOURCE 0 |