This improves the help message shown for ld.lld --help.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 18761 Build 18761: arc lint + arc unit
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.