summaryrefslogtreecommitdiffstats
path: root/clang/docs/SourceBasedCodeCoverage.rst
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-06-08 22:32:03 +0000
committerVedant Kumar <vsk@apple.com>2016-06-08 22:32:03 +0000
commit89262b692810a70ea768fca210417f2c05857925 (patch)
tree676d7d43e3ff55a1d2619dba4d885246b15a797b /clang/docs/SourceBasedCodeCoverage.rst
parent32a9bfa42ad10095edf1bd8845c3b7e93ec4094c (diff)
downloadbcm5719-llvm-89262b692810a70ea768fca210417f2c05857925.tar.gz
bcm5719-llvm-89262b692810a70ea768fca210417f2c05857925.zip
[docs] Coverage: Clarify return value of __llvm_profile_write_file
llvm-svn: 272215
Diffstat (limited to 'clang/docs/SourceBasedCodeCoverage.rst')
-rw-r--r--clang/docs/SourceBasedCodeCoverage.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/docs/SourceBasedCodeCoverage.rst b/clang/docs/SourceBasedCodeCoverage.rst
index 4425bdeb02c..ff43c931ea2 100644
--- a/clang/docs/SourceBasedCodeCoverage.rst
+++ b/clang/docs/SourceBasedCodeCoverage.rst
@@ -206,8 +206,9 @@ without using static initializers, do this manually:
to ``__llvm_profile_write_file``.
* Forward-declare ``int __llvm_profile_write_file(void)`` and call it to write
- out a profile. Calling this function multiple times appends profile data to
- an existing on-disk raw profile.
+ out a profile. This function returns 0 when it succeeds, and a non-zero value
+ otherwise. Calling this function multiple times appends profile data to an
+ existing on-disk raw profile.
Drawbacks and limitations
=========================
OpenPOWER on IntegriCloud