It seems to me that the intention of -gc-sections flag was to check
that discarded is not in the output. And if so it should be
specified in the executable command line invocation and
also, the symbol must be global as local symbols are anyways
not printed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker