clang/test/CodeGen/attr-disable-sanitizer-instrumentation.c
raw| 1 | // RUN: %clang_cc1 -debug-info-kind=limited %s -emit-llvm -o - | FileCheck %s |
| 2 | |
| 3 | void t1(void) __attribute__((disable_sanitizer_instrumentation)) { |
| 4 | } |
| 5 | // CHECK: disable_sanitizer_instrumentation |
| 6 | // CHECK-NEXT: void @t1 |
| 7 | |
| 8 | // CHECK-NOT: disable_sanitizer_instrumentation |
| 9 | // CHECK: void @t2 |
| 10 | void t2(void) { |
| 11 | } |