2012-09-20 18:10:01 +08:00
|
|
|
// Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin.
|
|
|
|
|
2012-09-24 18:25:24 +08:00
|
|
|
// RUN: %clang -faddress-sanitizer %s -E -dM -target x86_64-darwin - | FileCheck %s
|
2012-11-06 06:04:41 +08:00
|
|
|
// RUN: %clang -fsanitize=address %s -E -dM -target x86_64-darwin - | FileCheck %s
|
2012-09-24 18:25:24 +08:00
|
|
|
|
2012-09-20 18:10:01 +08:00
|
|
|
// CHECK: #define _FORTIFY_SOURCE 0
|