[PATCH] D58866: [docs] add missing nosanitize metadata documentation

Pranav Kant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 22:36:12 PST 2019


pranavk created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D58866

Files:
  docs/LangRef.rst


Index: docs/LangRef.rst
===================================================================
--- docs/LangRef.rst
+++ docs/LangRef.rst
@@ -5851,6 +5851,16 @@
 operands give the execution count that each of the respective prior target
 functions was called.
 
+'``nosanitize``' Metadata
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The metadata indicates that LLVM should not insert any sanitizer
+instrumentation. It doesn't accept any operand. Presence of this metadata
+instructs all sanitizers to ignore the instruction attached with this
+metadata. For example: A memory sanitizer will not add checks for uninitialized
+reads when it sees this metadata attached to an instruction.
+
+
 Module Flags Metadata
 =====================
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58866.189034.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190302/04383893/attachment.bin>


More information about the llvm-commits mailing list