COFF: Simplify construction of safe SEH table. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 28 Nov 2017 22:50:53 +0000 (22:50 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 28 Nov 2017 22:50:53 +0000 (22:50 +0000)
commit24ca79c776340e9d03fc2f24e7acedba97634eb2
tree53d21b8faf9224170b5fb8b1a2854179fcd5336f
parent1bc7b0e1483751e5fb23157363f7c20f7d1b3b5f
COFF: Simplify construction of safe SEH table. NFCI.

Instead of building intermediate sets of exception handlers for each
object file, just create one for the final output file.

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

llvm-svn: 319244
lld/COFF/InputFiles.cpp
lld/COFF/InputFiles.h
lld/COFF/Writer.cpp