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)
llvm-svn: 328236

llvm/docs/BitCodeFormat.rst
llvm/docs/LangRef.rst

index 24c007a22545e214dc603324145d1286ca6f3c44..6da69bc694d824e752c2548006cbd7a126e64ecd 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 55b96218e6f0aac8b725d519a2138ac4a94fedd4..035019499c12c4959f4d8d9bf0d10c59d63c8156 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.