]> granicus.if.org Git - clang/commitdiff
[docs] Coverage: Improve the wording a bit
authorVedant Kumar <vsk@apple.com>
Mon, 19 Jun 2017 21:26:04 +0000 (21:26 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 19 Jun 2017 21:26:04 +0000 (21:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305745 91177308-0d34-0410-b5e6-96231b3b80d8

docs/SourceBasedCodeCoverage.rst

index c38a00386d6a38b6833878b4a933893a09d965a9..805c98794804a4379f0c230c92325b05fb326ca2 100644 (file)
@@ -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