[PATCH] D12029: [lld] LinkDriver, lld-link: introduce shim.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 03:14:31 PDT 2015


ruiu added a subscriber: ruiu.
ruiu added a comment.

Defining a universal driver and making COFF linker to be a shim to that is
not going to work. Such translation is needlessly complex. Unix and Windows
semantics are significantly different if you take a closer look. A lot of
information is going to be lost in a straightforward translation. So both
shim and the universal driver are going to be smart and complex.

Please take a look at COFF/Driver.cpp. The diver drives many moving parts
such as the writer, symbol table etc. You don't want to mix that code with
other drivers which are also complicated in different ways.

They are pretty different, so let's not mix them. Keep each driver to focus
on only one thing.
2015/08/14 18:49 "Martell Malone" <martellmalone at gmail.com>:

> martell updated the summary for this revision.

> 

> http://reviews.llvm.org/D12029



http://reviews.llvm.org/D12029





More information about the llvm-commits mailing list