2 // RUN
: llvm-mc
%s
-o
%t.o
-filetype
=obj
--triple
=x86_64-unknown-linux
3 // RUN
: ld.lld
%t.o
-o
%t --export-dynamic
--gc-sections
--icf
=all
4 // RUN
: llvm-readelf
-S
-s
%t | FileCheck
%s
7 // CHECK
: [[P1
:[0-9]+]]] .text
9 // CHECK
: [[P2
:[0-9]+]]] .text
11 // CHECK
: Symbol table
'.symtab'
17 .section .llvm_sympart.f1,"",@llvm_sympart
21 .section .llvm_sympart.f2,"",@llvm_sympart
25 .section .llvm_sympart.g1,"",@llvm_sympart
29 .section .llvm_sympart.g2,"",@llvm_sympart
33 .section .text.f1,"ax",@progbits
38 .section .text.f2,"ax",@progbits
43 .section .text.g1,"ax",@progbits
48 .section .text.g2,"ax",@progbits