diff options
author | Vedant Kumar <vsk@apple.com> | 2017-06-19 21:22:05 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-06-19 21:22:05 +0000 |
commit | 82cd770914c9a66cadac514f6ac30296e8c8fc31 (patch) | |
tree | d1ec14e581fd116c83984fbae5d3d715b8cd874a /clang/docs/SourceBasedCodeCoverage.rst | |
parent | f3e3629f3db1eca98b11b984b6ef2dcceda31527 (diff) | |
download | bcm5719-llvm-82cd770914c9a66cadac514f6ac30296e8c8fc31.tar.gz bcm5719-llvm-82cd770914c9a66cadac514f6ac30296e8c8fc31.zip |
[docs] Coverage: document issue with the BFD linker
llvm-svn: 305743
Diffstat (limited to 'clang/docs/SourceBasedCodeCoverage.rst')
-rw-r--r-- | clang/docs/SourceBasedCodeCoverage.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/docs/SourceBasedCodeCoverage.rst b/clang/docs/SourceBasedCodeCoverage.rst index 474af30ae30..c38a00386d6 100644 --- a/clang/docs/SourceBasedCodeCoverage.rst +++ b/clang/docs/SourceBasedCodeCoverage.rst @@ -274,6 +274,11 @@ To specify an alternate directory for raw profiles, use 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. + * Code coverage does not handle unpredictable changes in control flow or stack unwinding in the presence of exceptions precisely. Consider the following function: |