Просмотр исходного кода

Clarify how to forward-declare __llvm_profile symbols.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293065 91177308-0d34-0410-b5e6-96231b3b80d8
Nico Weber 8 лет назад
Родитель
Сommit
bf900fb167
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      docs/SourceBasedCodeCoverage.rst

+ 2 - 0
docs/SourceBasedCodeCoverage.rst

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