mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
[PGO] Add test case to ensure covmap section is not allocatable.
Differential Revision: http://reviews.llvm.org/D17324 llvm-svn: 261959
This commit is contained in:
parent
4826fdb5cd
commit
04309d54d1
6
test/Instrumentation/InstrProfiling/X86/alloc.ll
Normal file
6
test/Instrumentation/InstrProfiling/X86/alloc.ll
Normal file
@ -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,""
|
3
test/Instrumentation/InstrProfiling/X86/lit.local.cfg
Normal file
3
test/Instrumentation/InstrProfiling/X86/lit.local.cfg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
if not 'X86' in config.root.targets:
|
||||||
|
config.unsupported = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user