[PATCH] D80064: [X86] Disable LVI load hardening pass at O0

Scott Constable via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 16 10:01:24 PDT 2020


sconstab added a comment.

I can accept this change if the driver can also emit a warning when LVI hardening is enabled with `-O0`. We already have a similar warning when LVI CFI protections are enabled with retpoline. The warning is emitted in clang/lib/Driver/ToolChains/Arch/X86.cpp.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80064/new/

https://reviews.llvm.org/D80064





More information about the llvm-commits mailing list