[PATCH] D58102: Support X86 Control-flow Enforcement Technology (CET) in LLD
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 19 21:47:15 PST 2019
LuoYuanke added a comment.
Hi ruiu
It is better to have ABI discussion at https://groups.google.com/forum/#!forum/x86-64-abi or send email x86-64-abi at googlegroups.com. Could you join to discuss the ABI issue there? Below is some piece of discussion that I can search from the forum https://groups.google.com/forum/#!topic/x86-64-abi/nWA7tcnjPnk.
There are 2 reasons for this 2-PLT scheme:
1. Provide compatibility with other tools that have an hardcoded limit of 16
bytes for an x86 PLT entry.
2. Improve code cache locality: since most of the instructions in .plt would be
executed only the first time a symbol is resolved they would waste space in
the cache and, by having a .plt.sec, only instructions that are often executed
would be cached.
Thanks
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58102/new/
https://reviews.llvm.org/D58102
More information about the llvm-commits
mailing list