[llvm] 50b18d4 - LangRef: Add !associated to list of preserved global metadata
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 11:14:30 PST 2023
Author: Matt Arsenault
Date: 2023-01-10T14:13:23-05:00
New Revision: 50b18d4140cf10c1bb5aeac6a89eab5d840853d5
URL: https://github.com/llvm/llvm-project/commit/50b18d4140cf10c1bb5aeac6a89eab5d840853d5
DIFF: https://github.com/llvm/llvm-project/commit/50b18d4140cf10c1bb5aeac6a89eab5d840853d5.diff
LOG: LangRef: Add !associated to list of preserved global metadata
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 360e23d6cb8ff..2cfceb0b2efb2 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -5406,9 +5406,10 @@ and ``g2`` using the ``!dbg`` identifier:
Unlike instructions, global objects (functions and global variables) may have
multiple metadata attachments with the same identifier.
-A transformation is required to drop any metadata attachment that it does not
-know or know it can't preserve. Currently there is an exception for metadata
-attachment to globals for ``!func_sanitize``, ``!type`` and ``!absolute_symbol`` which can't be
+A transformation is required to drop any metadata attachment that it
+does not know or know it can't preserve. Currently there is an
+exception for metadata attachment to globals for ``!func_sanitize``,
+``!type``, ``!absolute_symbol`` and ``!associated`` which can't be
unconditionally dropped unless the global is itself deleted.
Metadata attached to a module using named metadata may not be dropped, with
More information about the llvm-commits
mailing list