xref: /llvm-project/llvm/test/CodeGen/X86/elf-exclude.ll (revision 41fba3c107a5bc99065f3bf8b9f5b9d52eab2d98)
1; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s
2
3@a = global i32 1
4@b = global i32 1, !exclude !0
5@c = global i32 1, section "aaa"
6; CHECK-DAG: .type	c,@object
7; CHECK-DAG: 	.section	aaa,"aw",@progbits
8@d = global i32 1, section "bbb", !exclude !0
9; CHECK-DAG: .type	d,@object
10; CHECK-DAG: 	.section	bbb,"e",@progbits
11@e = global i32 1, section "bbb", !exclude !0
12; CHECK-DAG: .type	e,@object
13@f = global i32 1, section "ccc", !exclude !0
14@g = global i32 1, section "ccc"
15; CHECK-DAG:	.type	f,@object
16; CHECK-DAG:	.section	ccc,"e",@progbits
17
18!0 = !{}
19