[llvm] fa5025b - [LangRef] Add entry for pcsections Metadata (#133423)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 29 01:37:03 PDT 2025


Author: Marco Elver
Date: 2025-03-29T09:36:59+01:00
New Revision: fa5025b76034bcdd65d3a96eb29ae1edc18b876e

URL: https://github.com/llvm/llvm-project/commit/fa5025b76034bcdd65d3a96eb29ae1edc18b876e
DIFF: https://github.com/llvm/llvm-project/commit/fa5025b76034bcdd65d3a96eb29ae1edc18b876e.diff

LOG: [LangRef] Add entry for pcsections Metadata (#133423)

Add an entry for pcsections Metadata that references the PC Sections
Metadata document.

Fixes: https://github.com/llvm/llvm-project/issues/130552

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index cc0a77847fa5d..806874fa76b2e 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -8221,6 +8221,14 @@ Example:
 Clang emits ``kcfi_type`` metadata nodes for address-taken functions with
 ``-fsanitize=kcfi``.
 
+'``pcsections``' Metadata
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The ``pcsections`` metadata can be attached to instructions and functions, for
+which addresses, viz. program counters (PCs), are to be emitted in specially
+encoded binary sections. More details can be found in the `PC Sections Metadata
+<PCSectionsMetadata.html>`_ documentation.
+
 .. _md_memprof:
 
 '``memprof``' Metadata


        


More information about the llvm-commits mailing list