OSDN Git Service

Stop creating covmap as note section on ELF
authorXinliang David Li <davidxl@google.com>
Thu, 18 Feb 2016 17:20:22 +0000 (17:20 +0000)
committerXinliang David Li <davidxl@google.com>
Thu, 18 Feb 2016 17:20:22 +0000 (17:20 +0000)
commit20878dbe527cab55718a5d99d4aa5c447dace1ad
treee9673fd006b936b0c2489118b5227112955fa612
parentc93ef078179f7cdbf050ff370e1d7d8d80c0efdd
Stop creating covmap as note section on ELF

covmap needs to created as non allocatable, but not with
SHT_NOTE. The latter was needed to workaround a problem
of BFD linker with gc, which is no longer needed. (A more
proper longer term fix requires changing FE driver to force
referencing the section using linker script).

Differential Revision: http://reviews.llvm.org/D17309

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261228 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp