1 // RUN: %clang -E -fsanitize-coverage=indirect-calls %s -o - | FileCheck --check-prefix=CHECK-SANCOV %s 2 // RUN: %clang -E -fsanitize-coverage=inline-8bit-counters %s -o - | FileCheck --check-prefix=CHECK-SANCOV %s 3 // RUN: %clang -E -fsanitize-coverage=trace-cmp %s -o - | FileCheck --check-prefix=CHECK-SANCOV %s 4 // RUN: %clang -E -fsanitize-coverage=trace-pc %s -o - | FileCheck --check-prefix=CHECK-SANCOV %s 5 // RUN: %clang -E -fsanitize-coverage=trace-pc-guard %s -o - | FileCheck --check-prefix=CHECK-SANCOV %s 6 // RUN: %clang -E %s -o - | FileCheck --check-prefix=CHECK-NO-SANCOV %s 7 8 #if __has_feature(coverage_sanitizer) 9 int SancovEnabled(); 10 #else 11 int SancovDisabled(); 12 #endif 13 14 // CHECK-SANCOV: SancovEnabled 15 // CHECK-NO-SANCOV: SancovDisabled 16