[COFF] Don't error out on relocations to discarded sections in .eh_frame
authorMartin Storsjo <martin@martin.st>
Tue, 10 Oct 2017 06:05:29 +0000 (06:05 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 10 Oct 2017 06:05:29 +0000 (06:05 +0000)
commit67dd3415c05f0dff4562127cdda2f31308cde245
treed28dc834296e7a5b3e8e4f1156ee0037e0678305
parent4cdc9dab0ac938ff1045dc3eddfe8ee23f1279d7
[COFF] Don't error out on relocations to discarded sections in .eh_frame

This allows linking code with dwarf exception handling.

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

llvm-svn: 315273
lld/COFF/Chunks.h
lld/test/COFF/reloc-discarded-dwarf.s