OSDN Git Service

Document optforfuzzing attribute created in r328214.
authorMatt Morehouse <mascasa@google.com>
Thu, 22 Mar 2018 19:50:10 +0000 (19:50 +0000)
committerMatt Morehouse <mascasa@google.com>
Thu, 22 Mar 2018 19:50:10 +0000 (19:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328236 91177308-0d34-0410-b5e6-96231b3b80d8

docs/BitCodeFormat.rst
docs/LangRef.rst

index 24c007a..6da69bc 100644 (file)
@@ -1055,6 +1055,7 @@ The integer codes are mapped to well-known attributes as follows.
 * code 54: ``strictfp``
 * code 55: ``sanitize_hwaddress``
 * code 56: ``nocf_check``
+* code 57: ``optforfuzzing``
 
 .. note::
   The ``allocsize`` attribute has a special encoding for its arguments. Its two
index 55b9621..0350194 100644 (file)
@@ -1461,6 +1461,9 @@ example:
     trap or generate asynchronous exceptions. Exception handling schemes
     that are recognized by LLVM to handle asynchronous exceptions, such
     as SEH, will still provide their implementation defined semantics.
+``optforfuzzing``
+    This attribute indicates that this function should be optimized
+    for maximum fuzzing signal.
 ``optnone``
     This function attribute indicates that most optimization passes will skip
     this function, with the exception of interprocedural optimization passes.