Skip to content

Commit fa5025b

Browse files
authored
[LangRef] Add entry for pcsections Metadata (#133423)
Add an entry for pcsections Metadata that references the PC Sections Metadata document. Fixes: #130552
1 parent 1878259 commit fa5025b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

llvm/docs/LangRef.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8221,6 +8221,14 @@ Example:
82218221
Clang emits ``kcfi_type`` metadata nodes for address-taken functions with
82228222
``-fsanitize=kcfi``.
82238223

8224+
'``pcsections``' Metadata
8225+
^^^^^^^^^^^^^^^^^^^^^^^^^
8226+
8227+
The ``pcsections`` metadata can be attached to instructions and functions, for
8228+
which addresses, viz. program counters (PCs), are to be emitted in specially
8229+
encoded binary sections. More details can be found in the `PC Sections Metadata
8230+
<PCSectionsMetadata.html>`_ documentation.
8231+
82248232
.. _md_memprof:
82258233

82268234
'``memprof``' Metadata

0 commit comments

Comments
 (0)