1 ; RUN: llc < %s -mtriple=i386-unknown-linux | FileCheck %s -check-prefix=LINUX
2 ; RUN: llc < %s -mtriple=i386-unknown-linux -data-sections -function-sections | FileCheck %s -check-prefix=LINUX-SECTIONS
5 define void @F1(i32 %y) comdat {
7 switch i32 %y, label %bb5 [
25 ; LINUX: .section .text.F1,"axG",@progbits,F1,comdat
27 ; LINUX-NEXT: .cfi_endproc
28 ; LINUX-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat
30 ; LINUX-SECTIONS: .section .text.F1,"axG",@progbits,F1,comdat
31 ; LINUX-SECTIONS: .size F1,
32 ; LINUX-SECTIONS-NEXT: .cfi_endproc
33 ; LINUX-SECTIONS-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat
36 @G16 = unnamed_addr constant i32 42, comdat
38 ; LINUX: .section .rodata.G16,"aG",@progbits,G16,comdat
39 ; LINUX-SECTIONS: .section .rodata.G16,"aG",@progbits,G16,comdat