llvm-project/lld/unittests
Rui Ueyama 16c025e212 [PECOFF] Handle .lib files as if they are grouped by --{start,end}-group.
Currently we do not de-duplicate library files specified by /defaultlib option.
As a result, the same files are added multiple times to the input graph. In
particular, some popular files, such as kernel32.lib or oldnames.lib, are added
more than 10 times during linking of LLD. That makes the linker slower, as it
needs to parse the same file again and again.

This patch solves the issue by de-duplicating. The same file will be added only
once to the input graph. This patch improved the LLD linking time from 10.5
seconds to 7.7 seconds on my 4-core Core i7 Macbook Pro.

llvm-svn: 196504
2013-12-05 13:07:49 +00:00
..
CoreTests Rename TargetInfo -> LinkingContext. 2013-08-06 22:31:59 +00:00
DriverTests [PECOFF] Handle .lib files as if they are grouped by --{start,end}-group. 2013-12-05 13:07:49 +00:00
MachOTests [mach-o] revert gunk added to test cases to debug build bot failures 2013-11-08 23:18:51 +00:00
CMakeLists.txt Supoort mach-o encoded in yaml. 2013-10-08 00:43:34 +00:00