[PATCH] D113075: [lld-macho] Use separate tablegen file for LC_LINKER_OPTION
Keith Smiley via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 2 18:22:15 PDT 2021
keith created this revision.
Herald added subscribers: dang, mgorny.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This cuts another 5 seconds off the top it takes lld to link our large
project. I assume because the parsing of the larger tablegen file
happened many times, when we actually only wanted to handle these 2
options. This is a bit more work to maintain these arguments in 2 places
but they shouldn't change too much to be a big problem.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113075
Files:
lld/MachO/CMakeLists.txt
lld/MachO/Driver.cpp
lld/MachO/Driver.h
lld/MachO/DriverUtils.cpp
lld/MachO/LCLinkerOptions.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113075.384295.patch
Type: text/x-patch
Size: 4946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211103/7005bd0b/attachment.bin>
More information about the llvm-commits
mailing list