[PATCH] D97446: Change some addUsedGlobal to addUsedOrCompilerUsedGlobal

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 08:22:01 PST 2021


probinson added a comment.

> GNU ld has a rule "start_/stop_ references from a live input section retain the associated C identifier name sections",

which LLD may change in the future (D96914 <https://reviews.llvm.org/D96914>).

The phrasing "may change" implies LLD could eliminate the rule; in fact D96914 <https://reviews.llvm.org/D96914> will only add a way to opt-out of the rule.  You can't eliminate the rule entirely without breaking a lot of useful cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97446/new/

https://reviews.llvm.org/D97446



More information about the cfe-commits mailing list