ELF: --gdb-index: Do not add dead sections to the address area.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 15 May 2017 17:53:26 +0000 (17:53 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 15 May 2017 17:53:26 +0000 (17:53 +0000)
commitc5bee3212b099b345e5f49ebab53d43874cd826e
tree81d83a99ceabac3f338b0ea058de8c72f86d74a7
parente8a49b38508fac85b065bb8e174d46bb566036ef
ELF: --gdb-index: Do not add dead sections to the address area.

Fixes PR33032.

Differential Revision: https://reviews.llvm.org/D33175

llvm-svn: 303088
lld/ELF/SyntheticSections.cpp
lld/test/ELF/gdb-index-gc-sections.s [new file with mode: 0644]