This improves the help message shown for ld.lld --help.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hi @ruiu,
I was just looking at this change, and I noticed one slight mistake in this: the --discard-none switch is not the default behaviour of LLD. If it were, the default DiscardPolicy would be DiscardPolicy::None, when in fact it is DiscardPolicy::Default and there's a difference in the behaviour between the two in shouldKeepInSymtab.
Comment Actions
Oh, thank you for finding that mistake! I'll just remove "(default)" from that option.