diff options
| author | Vedant Kumar <vsk@apple.com> | 2016-06-08 22:32:03 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2016-06-08 22:32:03 +0000 |
| commit | 89262b692810a70ea768fca210417f2c05857925 (patch) | |
| tree | 676d7d43e3ff55a1d2619dba4d885246b15a797b /clang/docs/SourceBasedCodeCoverage.rst | |
| parent | 32a9bfa42ad10095edf1bd8845c3b7e93ec4094c (diff) | |
[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.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/docs/SourceBasedCodeCoverage.rst b/clang/docs/SourceBasedCodeCoverage.rst index 4425bdeb02ca..ff43c931ea2f 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 ========================= |
