r293065 - Clarify how to forward-declare __llvm_profile symbols.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 25 08:01:32 PST 2017
Author: nico
Date: Wed Jan 25 10:01:32 2017
New Revision: 293065
URL: http://llvm.org/viewvc/llvm-project?rev=293065&view=rev
Log:
Clarify how to forward-declare __llvm_profile symbols.
Modified:
cfe/trunk/docs/SourceBasedCodeCoverage.rst
Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SourceBasedCodeCoverage.rst?rev=293065&r1=293064&r2=293065&view=diff
==============================================================================
--- cfe/trunk/docs/SourceBasedCodeCoverage.rst (original)
+++ cfe/trunk/docs/SourceBasedCodeCoverage.rst Wed Jan 25 10:01:32 2017
@@ -256,6 +256,8 @@ without using static initializers, do th
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
================================================
More information about the cfe-commits
mailing list