Index: llvm/trunk/test/Instrumentation/InstrProfiling/X86/alloc.ll =================================================================== --- llvm/trunk/test/Instrumentation/InstrProfiling/X86/alloc.ll +++ llvm/trunk/test/Instrumentation/InstrProfiling/X86/alloc.ll @@ -0,0 +1,6 @@ +;; 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 + +@__llvm_coverage_mapping = internal constant i32 0, section "__llvm_covmap" + +; CHECK-DAG: .section __llvm_covmap,"" Index: llvm/trunk/test/Instrumentation/InstrProfiling/X86/lit.local.cfg =================================================================== --- llvm/trunk/test/Instrumentation/InstrProfiling/X86/lit.local.cfg +++ llvm/trunk/test/Instrumentation/InstrProfiling/X86/lit.local.cfg @@ -0,0 +1,3 @@ +if not 'X86' in config.root.targets: + config.unsupported = True +