aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/all-debug-sections.d
blob: 5e3373a63f2589865006805e2a33e00240b29e22 (plain)
1
2
3
4
5
6
7
8
9
10
#name: --gc-sections with multiple debug sections for a function section
#as: -gdwarf-sections
#ld: --gc-sections -e _start
#PROG: nm

#...
[0-9a-f]+ N +debug_aranges_main
[0-9a-f]+ N +debug_info_main
[0-9a-f]+ N +debug_line_main
#...