1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[LangRef] Fix typo about SHF_LINK_ORDER

This commit is contained in:
Fangrui Song 2021-07-08 10:29:43 -07:00
parent 915fc454ff
commit 3e6125b247

View File

@ -6841,7 +6841,7 @@ See :doc:`TypeMetadata`.
The ``associated`` metadata may be attached to a global variable definition with The ``associated`` metadata may be attached to a global variable definition with
a single argument that references a global object (optionally through an alias). 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 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 also discarded. The linker support for this feature is spotty. For best
compatibility, globals carrying this metadata should: compatibility, globals carrying this metadata should: