[llvm] d833543 - [LangRef] Fix typo about SHF_LINK_ORDER
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 8 10:29:48 PDT 2021
Author: Fangrui Song
Date: 2021-07-08T10:29:43-07:00
New Revision: d833543dd52cfb126f4c6d765166e42da217b72a
URL: https://github.com/llvm/llvm-project/commit/d833543dd52cfb126f4c6d765166e42da217b72a
DIFF: https://github.com/llvm/llvm-project/commit/d833543dd52cfb126f4c6d765166e42da217b72a.diff
LOG: [LangRef] Fix typo about SHF_LINK_ORDER
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 812a4c0d047b..6434b0d98906 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -6841,7 +6841,7 @@ See :doc:`TypeMetadata`.
The ``associated`` metadata may be attached to a global variable definition with
a single argument that references a global object (optionally through an alias).
-This metadata lowers to the ELF section flag ``SHF_LINK_INFO`` which prevents
+This metadata lowers to the ELF section flag ``SHF_LINK_ORDER`` which prevents
discarding of the global variable in linker GC unless the referenced object is
also discarded. The linker support for this feature is spotty. For best
compatibility, globals carrying this metadata should:
More information about the llvm-commits
mailing list