commit | 6bd26db06aae4fd27ea38f1aaac382005a079d29 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Thu Jul 11 21:19:11 2019 |
committer | Martin Storsjo <martin@martin.st> | Thu Jul 11 21:19:11 2019 |
tree | ed5e756579cfb06d3c80e39f09d12f65ae321e16 | |
parent | 07bfa5b870279a65230ace0e7e85d3ac800da2a7 [diff] |
[COFF] Share the tail in delayimport symbol thunks E.g. for x86_64, previously each symbol's thunk was 87 bytes. Now there's a 12 byte thunk per symbol, plus a shared 83 byte tail function. This is similar to what both MS link.exe and GNU tools do for delay imports. Differential Revision: https://reviews.llvm.org/D64288 llvm-svn: 365823