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 ================================================ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits