This patch replaces the symbol table's object and archive queues, as well as the convergent loop in the linker driver, with a design more similar to the ELF linker where symbol resolution directly causes input files to be added to the link, including input files arising from linker directives. Effectively this removes the last vestiges of the old parallel input file loader. Differential Revision: https://reviews.llvm.org/D27660 llvm-svn: 289409
16 lines
554 B
Plaintext
16 lines
554 B
Plaintext
# RUN: yaml2obj < %p/Inputs/include1a.yaml > %t1.obj
|
|
# RUN: yaml2obj < %p/Inputs/include1b.yaml > %t2.obj
|
|
# RUN: yaml2obj < %p/Inputs/include1c.yaml > %t3.obj
|
|
# RUN: rm -f %t2.lib %t3.lib
|
|
# RUN: llvm-ar cru %t2.lib %t2.obj
|
|
# RUN: llvm-ar cru %t3.lib %t3.obj
|
|
# RUN: lld-link /out:%t.exe /entry:main \
|
|
# RUN: %t1.obj %t2.lib %t3.obj %t3.lib /verbose >& %t.log
|
|
# RUN: FileCheck %s < %t.log
|
|
|
|
CHECK: order.test.tmp1.obj
|
|
CHECK: order.test.tmp2.lib
|
|
CHECK: order.test.tmp2.lib(order.test.tmp2.obj) for foo
|
|
CHECK: order.test.tmp3.obj
|
|
CHECK: order.test.tmp3.lib
|