diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2018-07-25 09:00:26 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2018-07-25 09:00:26 +0000 |
commit | 196e719acda14658164d9ca313ff7fda3b02d9a5 (patch) | |
tree | 6437560e30919180a88329eede8f06e0cb41e3af /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | b5244592882f296097bcd5508630b73311d0ddde (diff) | |
download | bcm5719-llvm-196e719acda14658164d9ca313ff7fda3b02d9a5.tar.gz bcm5719-llvm-196e719acda14658164d9ca313ff7fda3b02d9a5.zip |
[x86/SLH] Improve name and comments for the main hardening function.
This function actually does two things: it traces the predicate state
through each of the basic blocks in the function (as that isn't directly
handled by the SSA updater) *and* it hardens everything necessary in the
block as it goes. These need to be done together so that we have the
currently active predicate state to use at each point of the hardening.
However, this also made obvious that the flag to disable actual
hardening of loads was flawed -- it also disabled tracing the predicate
state across function calls within the body of each block. So this patch
sinks this debugging flag test to correctly guard just the hardening of
loads.
Unless load hardening was disabled, no functionality should change with
tis patch.
llvm-svn: 337894
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions