[docs] Coverage: document issue with the BFD linker

llvm-svn: 305743
This commit is contained in:
Vedant Kumar 2017-06-19 21:22:05 +00:00
parent f3e3629f3d
commit 82cd770914
1 changed files with 5 additions and 0 deletions

View File

@ -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: