]> granicus.if.org Git - clang/commitdiff
Clarify how to forward-declare __llvm_profile symbols.
authorNico Weber <nicolasweber@gmx.de>
Wed, 25 Jan 2017 16:01:32 +0000 (16:01 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 25 Jan 2017 16:01:32 +0000 (16:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293065 91177308-0d34-0410-b5e6-96231b3b80d8

docs/SourceBasedCodeCoverage.rst

index abb682355b1c33143d11d460646b75de67d6e153..8e72b2287e9c52cec38559db82413f102f04817b 100644 (file)
@@ -256,6 +256,8 @@ without using static initializers, do this manually:
   otherwise. Calling this function multiple times appends profile data to an
   existing on-disk raw profile.
 
+In C++ files, declare these as ``extern "C"``.
+
 Collecting coverage reports for the llvm project
 ================================================