[ELF] - Teach LLD to hint about -fdebug-types-section.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 21 Mar 2018 09:19:34 +0000 (09:19 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 21 Mar 2018 09:19:34 +0000 (09:19 +0000)
commit89481f363a4311d679daa81ca1365460132f8935
treed4d6fee84583c8023014688ca5058a28a6841472
parent2b88406e7b33ec5e38c803ee4871208a81395a90
[ELF] - Teach LLD to hint about -fdebug-types-section.

Patch teaches LLD to hint user about -fdebug-types-section flag
if relocation overflow happens in debug section.

Differential revision: https://reviews.llvm.org/D40954

llvm-svn: 328081
lld/ELF/Target.cpp
lld/ELF/Target.h
lld/test/ELF/x86-64-reloc-debug-overflow.s [new file with mode: 0644]