Skip to content

Commit 0100c63

Browse files
authored
[docs] Add guide about Undefined Behavior (#119220)
Thanks Antonio Frighetto, John Regehr, and Nikita Popov for reviewing this!
1 parent c69f829 commit 0100c63

File tree

2 files changed

+397
-0
lines changed

2 files changed

+397
-0
lines changed

llvm/docs/Reference.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ LLVM and API reference documentation.
5252
TestingGuide
5353
TransformMetadata
5454
TypeMetadata
55+
UndefinedBehavior
5556
XRay
5657
XRayExample
5758
XRayFDRFormat
@@ -120,6 +121,9 @@ LLVM IR
120121
Defines the LLVM intermediate representation and the assembly form of the
121122
different nodes.
122123

124+
:doc:`Undefined Behavior (UB) <UndefinedBehavior>`
125+
A guide on what UB/undef/poison are and when to use each one.
126+
123127
:doc:`InAlloca`
124128
Description of the ``inalloca`` argument attribute.
125129

0 commit comments

Comments
 (0)