Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions llvm/docs/LangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3388,6 +3388,10 @@ the object's lifetime. A stack object's lifetime can be explicitly specified
using :ref:`llvm.lifetime.start <int_lifestart>` and
:ref:`llvm.lifetime.end <int_lifeend>` intrinsic function calls.

As an exception to the above, loading from a stack object outside its lifetime
is not undefined behavior and returns a poison value instead. Storing to it is
still undefined behavior.

.. _pointeraliasing:

Pointer Aliasing Rules
Expand Down
Loading