[all-commits] [llvm/llvm-project] 08b8b7: [X86] Add inline assembly load hardening mitigatio...
topperc via All-commits
all-commits at lists.llvm.org
Mon May 11 14:09:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 08b8b724ee3ac7ae7f516e036616620aa33968f1
https://github.com/llvm/llvm-project/commit/08b8b724ee3ac7ae7f516e036616620aa33968f1
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-05-11 (Mon, 11 May 2020)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
A llvm/test/CodeGen/X86/lvi-hardening-inline-asm.ll
Log Message:
-----------
[X86] Add inline assembly load hardening mitigation for Load Value Injection (LVI)
Added code to X86AsmParser::emitInstruction() to add an LFENCE after each instruction that may load, and emit a warning if it encounters an instruction that may be vulnerable, but cannot be automatically mitigated.
Differential Revision: https://reviews.llvm.org/D76158
More information about the All-commits
mailing list