[PATCH] D41723: Introduce the "retpoline" x86 mitigation technique for variant #2 of the speculative execution vulnerabilities disclosed today, specifically identified by CVE-2017-5715, "Branch Target Injection", and is one of the two halves to Spectre..
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 16:31:16 PST 2018
ruiu added a comment.
Please apply https://reviews.llvm.org/D41744 to this patch. It includes the following changes:
1. xchg is replaced with mov/pop instructions
2. x86-64 lazy PLT relocation target is now aligned to 16 byte
3. the x86-64 PLT header for lazy PLT resolution is shrunk from 48 bytes to 32 bytes (which became possible by utilizing the space made by (2))
More information about the llvm-commits