[PATCH] D54555: [clang][slh] add attribute for speculative load hardening
Zola Bridges via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 14 16:46:39 PST 2018
zbrid created this revision.
zbrid added reviewers: chandlerc, echristo.
Herald added a subscriber: llvm-commits.
LLVM IR already has an attribute for speculative_laod_hardening. Before
this commit, when a user passed the -mspeculative-load-hardening flag to
Clang, every function would have this attribute added to it. This Clang
attribute will allow users to opt into SLH on a function by function basis..
Repository:
rL LLVM
https://reviews.llvm.org/D54555
Files:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/lib/CodeGen/CGCall.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/attr-speculative-load-hardening.cpp
clang/test/SemaCXX/attr-speculative-load-hardening.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54555.174130.patch
Type: text/x-patch
Size: 6205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181115/da0143cd/attachment.bin>
More information about the llvm-commits
mailing list