llvm.org GIT mirror llvm / a6320f1
[PGO] Add test case to ensure covmap section is not allocatable. Differential Revision: http://reviews.llvm.org/D17324 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261959 91177308-0d34-0410-b5e6-96231b3b80d8 Xinliang David Li 4 years ago
2 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ;; Ensure that SHF_ALLOC section flag is not set for the __llvm_covmap section on Linux.
1 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
2
3 @__llvm_coverage_mapping = internal constant i32 0, section "__llvm_covmap"
4
5 ; CHECK-DAG: .section __llvm_covmap,""
0 if not 'X86' in config.root.targets:
1 config.unsupported = True
2