[x86/SLH] Clean up helper naming for return instruction handling and
authorChandler Carruth <chandlerc@gmail.com>
Thu, 19 Jul 2018 23:46:24 +0000 (23:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 19 Jul 2018 23:46:24 +0000 (23:46 +0000)
commita3a03ac24754f032cba563fc3b153fe49554aa42
tree0b34108e0511d0713676c53401dd5f1576685d0c
parent326ffb702acc7a2f9bd870e59af89faaedb680e3
[x86/SLH] Clean up helper naming for return instruction handling and
remove dead declaration of a call instruction handling helper.

This moves to the 'harden' terminology that I've been trying to settle
on for returns. It also adds a really detailed comment explaining what
all we're trying to accomplish with return instructions and why.
Hopefully this makes it much more clear what exactly is being
"hardened".

Differential Revision: https://reviews.llvm.org/D49571

llvm-svn: 337510
llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp