Author: vedantk Date: Mon Jun 19 16:26:04 2017 New Revision: 305745 URL: http://llvm.org/viewvc/llvm-project?rev=305745&view=rev Log: [docs] Coverage: Improve the wording a bit
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=305745&r1=305744&r2=305745&view=diff ============================================================================== --- cfe/trunk/docs/SourceBasedCodeCoverage.rst (original) +++ cfe/trunk/docs/SourceBasedCodeCoverage.rst Mon Jun 19 16:26:04 2017 @@ -275,9 +275,9 @@ Drawbacks and limitations ========================= * Prior to version 2.26, the GNU binutils BFD linker is not able link programs - with coverage enabled when the ``--gc-sections`` is enabled. The suggested - workaround is to either upgrade to a newer version of BFD, or to use the Gold - linker. + compiled with ``-fcoverage-mapping`` in its ``--gc-sections`` mode. Possible + workarounds include disabling ``--gc-sections``, upgrading to a newer version + of BFD, or using the Gold linker. * Code coverage does not handle unpredictable changes in control flow or stack unwinding in the presence of exceptions precisely. Consider the following _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits