[PATCH] D104933: [LangRef] Clarify !associated
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 2 14:45:04 PDT 2021
eugenis added inline comments.
================
Comment at: llvm/docs/LangRef.rst:6842
+to more references to the metadata. If the metadata is retained while
+the function is discarded, this will trigger a linker error.
+
----------------
It sounds like the linker error is only a symptom, and the real reason is that !associated as well as SHF_LINK_ORDER can not express many-to-one relationship, right? Because ideally we would want to keep metadata alive as long as any inline location is alive, too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104933/new/
https://reviews.llvm.org/D104933
More information about the llvm-commits
mailing list