Author: aaronballman
Date: Thu Jul 14 07:35:00 2016
New Revision: 275404
URL: http://llvm.org/viewvc/llvm-project?rev=275404&view=rev
Log:
Correct the attribute documentation for the new XRay attributes. Fixes the
documentation build.
Modified:
cfe/trunk/include/clang/Basic/AttrDocs.td
Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=275404&r1=275403&r2=275404&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Thu Jul 14 07:35:00 2016
@@ -2453,10 +2453,11 @@ See the RenderScript_ documentation for
def XRayDocs : Documentation {
let Category = DocCatFunction;
+ let Heading = "xray_always_instrument (clang::xray_always_instrument),
xray_never_instrument (clang::xray_never_instrument)";
let Content = [{
-``__attribute__((xray_always_instrument))`` or
``[[clang:xray_always_instrument]]`` is used to mark member functions (in C++),
methods (in Objective C), and free functions (in C, C++, and Objective C) to be
instrumented with XRay. This will cause the function to always have space at
the beginning and exit points to allow for runtime patching.
+``__attribute__((xray_always_instrument))`` or
``[[clang::xray_always_instrument]]`` is used to mark member functions (in
C++), methods (in Objective C), and free functions (in C, C++, and Objective C)
to be instrumented with XRay. This will cause the function to always have space
at the beginning and exit points to allow for runtime patching.
-Conversely, ``__attribute__((xray_never_instrument))`` or
``[[clang:xray_never_instrument]]`` will inhibit the insertion of these
instrumentation points.
+Conversely, ``__attribute__((xray_never_instrument))`` or
``[[clang::xray_never_instrument]]`` will inhibit the insertion of these
instrumentation points.
If a function has neither of these attributes, they become subject to the XRay
heuristics used to determine whether a function should be instrumented or
otherwise.
}];
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits