Skip to content

Commit 7ff8cd4

Browse files
committed
[LangRef] Add entry for pcsections Metadata
Add an entry for pcsections Metadata that references the PC Sections Metadata document. Fixes: #130552
1 parent 8a3fe30 commit 7ff8cd4

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. You can read more about PC Sections Metadata
8230+
`here <PCSectionsMetadata.html>`_.
8231+
82248232
.. _md_memprof:
82258233

82268234
'``memprof``' Metadata

0 commit comments

Comments
 (0)