[PATCH] D51157: [x86/SLH] Add a real Clang flag and LLVM IR attribute for Speculative Load Hardening.
Richard Smith - zygoloid via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 23 21:26:35 PDT 2018
rsmith accepted this revision.
rsmith added inline comments.
================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:1150
+ Opts.SpeculativeLoadHardening =
+ Args.hasFlag(OPT_mspeculative_load_hardening,
----------------
You can just use `hasArg(OPT_mspeculative_load_hardening)` here.
Repository:
rL LLVM
https://reviews.llvm.org/D51157
More information about the llvm-commits
mailing list