[x86/SLH] Clean up helper naming for return instruction handling and
commit4396284eb18df05ca28daf9e33a2558227085cd7
authorChandler Carruth <chandlerc@gmail.com>
Thu, 19 Jul 2018 23:46:24 +0000 (19 23:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 19 Jul 2018 23:46:24 +0000 (19 23:46 +0000)
tree9b9a7e6a0fb7b7bd3ce1ebaa65bede677c61fe77
parent8f1e2f083dfd087e494fadfad10d5ea43a8f3288
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337510 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86SpeculativeLoadHardening.cpp