[PATCH] D118551: [ELF] De-template LinkerDriver::link. NFC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 29 20:51:33 PST 2022


MaskRay created this revision.
MaskRay added reviewers: ikudrin, lichray, peter.smith.
Herald added subscribers: pengfei, arichardson, emaste.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Replace `f<ELFT>(x)` with `InvokeELFT(f, x)`.

My x86-64 lld executable is 26KiB smaller.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118551

Files:
  lld/ELF/Driver.cpp
  lld/ELF/Driver.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118551.404328.patch
Type: text/x-patch
Size: 5428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220130/824120c7/attachment.bin>


More information about the llvm-commits mailing list