From: Matt Morehouse Date: Thu, 22 Mar 2018 19:50:10 +0000 (+0000) Subject: Document optforfuzzing attribute created in r328214. X-Git-Tag: android-x86-7.1-r4~3383 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=590f2e2f2ebbcc67ee2b58bb82d9c5c776cd2a71;p=android-x86%2Fexternal-llvm.git Document optforfuzzing attribute created in r328214. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328236 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/BitCodeFormat.rst b/docs/BitCodeFormat.rst index 24c007a2254..6da69bc694d 100644 --- a/docs/BitCodeFormat.rst +++ b/docs/BitCodeFormat.rst @@ -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 diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 55b96218e6f..035019499c1 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -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.