aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/elf-exclude.ll
blob: 50006dfa8a522c6c8e19448558082c3ea8552c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s

@a = global i32 1
@b = global i32 1, !exclude !0
@c = global i32 1, section "aaa"
; CHECK-DAG: .type	c,@object
; CHECK-DAG: 	.section	aaa,"aw",@progbits
@d = global i32 1, section "bbb", !exclude !0
; CHECK-DAG: .type	d,@object
; CHECK-DAG: 	.section	bbb,"e",@progbits
@e = global i32 1, section "bbb", !exclude !0
; CHECK-DAG: .type	e,@object
@f = global i32 1, section "ccc", !exclude !0
@g = global i32 1, section "ccc"
; CHECK-DAG:	.type	f,@object
; CHECK-DAG:	.section	ccc,"e",@progbits

!0 = !{}