[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Driver / darwin-asan-destructor.c
blob5622e78bf7483df21049987430db2784068785cc
1 // RUN: %clang -target x86_64-apple-darwin10 -fsanitize=address -mkernel -### \
2 // RUN: %s 2>&1 | FileCheck %s
3 // RUN: %clang -target x86_64-apple-darwin10 -fsanitize=address -fapple-kext \
4 // RUN: -### %s 2>&1 | FileCheck %s
5 // RUN: %clang -target x86_64-apple-darwin10 -fsanitize=address -fapple-kext \
6 // RUN: -mkernel -### %s 2>&1 | FileCheck %s
8 // CHECK: "-fsanitize-address-destructor=none"
10 // Check it's possible to override the driver's decision.
11 // RUN: %clang -target x86_64-apple-darwin10 -fsanitize=address -fapple-kext \
12 // RUN: -mkernel -### -fsanitize-address-destructor=global %s 2>&1 | \
13 // RUN: FileCheck -check-prefix=CHECK-OVERRIDE %s
15 // CHECK-OVERRIDE: "-fsanitize-address-destructor=global"