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

Matthew Riley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 11:54:31 PDT 2020


mattdr added a comment.

Of course that raises a fun question: where do we put the code to make sure we warn if the pass is disabled? It can't be in the pass itself.

I agree we should find or create a good place for this warning to avoid users shooting themselves in the foot, but my opinion is that shouldn't block this change from landing.


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