diff options
Diffstat (limited to 'test/Instrumentation/InstrProfiling/X86/alloc.ll')
| -rw-r--r-- | test/Instrumentation/InstrProfiling/X86/alloc.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Instrumentation/InstrProfiling/X86/alloc.ll b/test/Instrumentation/InstrProfiling/X86/alloc.ll new file mode 100644 index 000000000000..33624380a375 --- /dev/null +++ b/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,"" |
