llvm-for-llvmta/tools/clang/test/Driver/darwin-asan-nofortify.c

6 lines
186 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin.
// RUN: %clang -fsanitize=address %s -E -dM -target x86_64-darwin | FileCheck %s
// CHECK: #define _FORTIFY_SOURCE 0