https://bugs.llvm.org/show_bug.cgi?id=46783
Bug ID: 46783
Summary: --print-gc-sections: print group signatures
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Petr Hosek reported that GNU ld has a nicer information. For example:
% cat a.s
.section .text.foo,"aG",@progbits,foo,comdat
.byte 0
.section __sancov_cntrs,"aG",@progbits,foo,comdat
.byte 0
% ld.lld --gc-sections --print-gc-sections -e 0 a.o -o a
removing unused section a.o:(.text)
removing unused section a.o:(.text.foo)
removing unused section a.o:(__sancov_cntrs)
### Ggroup signature in the output.
% ld.bfd --gc-sections --print-gc-sections -e 0 a.o -o a
ld.bfd: removing unused section '.group' in file 'a.o'
ld.bfd: removing unused section '.text.foo[foo]' in file 'a.o'
ld.bfd: removing unused section '__sancov_cntrs[foo]' in file 'a.o'
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs