[PATCH] D80186: [Inliner] Update !associated metadata during inlining

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 13:33:07 PDT 2020


phosek added a comment.

In D80186#2067107 <https://reviews.llvm.org/D80186#2067107>, @pcc wrote:

> In this case you might consider replacing the global reference with `null` and implementing my proposal in https://bugs.llvm.org/show_bug.cgi?id=41734#c2 to make the section SHF_LINK_ORDER with a zero-length `.init_array` section.


Wouldn't that mean that symbols associated with `null` won't be GCed by the linker?


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

https://reviews.llvm.org/D80186





More information about the llvm-commits mailing list