On 01/30/2012 11:11 AM, Jakub Jelinek wrote:
The *.rpo discovery can be many thousands of syscalls too for larger links and I think -frepo is quite rarely used.
OK.
Can't tlink just take into account that sometimes different symbols mangle the same, and handle those as a group (i.e. if the linker output requests S::~S(), and *.rpo files contain several _ZN1SD[0-9]Ev symbols, mark or tweak them all)?
Emitting one doesn't necessary imply emitting all of them. Perhaps we could change the demangler to distinguish between the symbols, but of course that wouldn't affect current linkers.
What if we use linker demangling only if the user has specified creating a linker map?
Jason