[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / Instrumentation / AddressSanitizer / do-not-instrument-profiling-globals.ll
blob39fc2308dbf3e6836947c95a9f5c05a34d60348c
1 ; This test checks that we don't instrument globals created by profiling passes.
2 ; RUN: opt < %s -passes=asan -S | FileCheck %s
4 @__profc_test = private global [1 x i64] zeroinitializer, section "__DATA,__llvm_prf_cnts", align 8
5 @__llvm_gcov_ctr = internal global [1 x i64] zeroinitializer
7 ; CHECK-DAG: @asan.module_ctor
8 ; CHECK-NOT: @___asan_gen{{.*}}__llvm_gcov_ctr
9 ; CHECK-NOT: @___asan_gen{{.*}}__profc_test