[llvm-dev] LLD status update and performance chart

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 13 12:07:32 PST 2016


Hal Finkel <hfinkel at anl.gov> writes:

>> Yes. Getting the early shutdown code was way more work than it would
>> have been if this was just a program. The code is also quite ugly.
>
> This is general issue across LLVM's codebase. Is there some reason this is worse in lld than anywhere else in the project?

It is not worse in ELF than in other libraries (LLVM or not), but it
could be simpler if lld was really just a program like the others in
tools.

>> It also prevents us from sharing error handling functions with the
>> COFF
>> linker.
>
> Is this a technical problem is just a lack of needed refactoring?

Because the COFF ones can just exit as fortunately the COFF linker is
actually just a linker.

Cheers,
Rafael


More information about the llvm-dev mailing list