llvm-for-llvmta/test/Instrumentation/InstrProfiling/X86/alloc.ll

9 lines
380 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
;; Ensure that SHF_ALLOC section flag is not set for the __llvm_covmap section on Linux.
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
@covfun = linkonce_odr hidden constant i32 0, section "__llvm_covfun"
@__llvm_coverage_mapping = internal constant i32 0, section "__llvm_covmap"
; CHECK-DAG: .section __llvm_covfun,""
; CHECK-DAG: .section __llvm_covmap,""