COFF: Add /include option.
authorRui Ueyama <ruiu@google.com>
Sun, 31 May 2015 19:55:40 +0000 (19:55 +0000)
committerRui Ueyama <ruiu@google.com>
Sun, 31 May 2015 19:55:40 +0000 (19:55 +0000)
commite042fa9aa5ea0fd936b532e4b17c3e185a7aabc8
tree28a9f1501c8e6e1f9cf6aac1d93bcc32fb1b82e5
parenta603c4076cae935b49d736819cacefd7c04c80c6
COFF: Add /include option.

It does not involve notions of virtual archives or virtual files,
nor store a list of undefined symbols somewhere else to consume them later.
We did that before. In this patch, undefined symbols are just added to
the symbol table, which now can be done in very few lines of code.

llvm-svn: 238681
lld/COFF/Driver.cpp
lld/COFF/SymbolTable.cpp
lld/COFF/SymbolTable.h
lld/test/COFF/include.test [new file with mode: 0644]