[PATCH] D75938: X86 Mitigate for Load Value Injection (LVI)--All Code

Scott Constable via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 10:19:34 PDT 2020


sconstab created this revision.
sconstab added reviewers: craig.topper, andrew.w.kaylor, chandlerc, zbrid.
Herald added subscribers: jfb, hiraditya, mgorny.
Herald added a project: LLVM.

This is an aggregation of five other patches that have been submitted separately to add LVI mitigation support to the X86 target, as well as driver support for clang to process new CLI options.


https://reviews.llvm.org/D75938

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Arch/X86.cpp
  llvm/include/llvm/CodeGen/RDFGraph.h
  llvm/include/llvm/CodeGen/RDFLiveness.h
  llvm/include/llvm/CodeGen/RDFRegisters.h
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/RDFGraph.cpp
  llvm/lib/CodeGen/RDFLiveness.cpp
  llvm/lib/CodeGen/RDFRegisters.cpp
  llvm/lib/Target/Hexagon/CMakeLists.txt
  llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
  llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
  llvm/lib/Target/Hexagon/RDFCopy.cpp
  llvm/lib/Target/Hexagon/RDFCopy.h
  llvm/lib/Target/Hexagon/RDFDeadCode.cpp
  llvm/lib/Target/Hexagon/RDFDeadCode.h
  llvm/lib/Target/Hexagon/RDFGraph.cpp
  llvm/lib/Target/Hexagon/RDFGraph.h
  llvm/lib/Target/Hexagon/RDFLiveness.cpp
  llvm/lib/Target/Hexagon/RDFLiveness.h
  llvm/lib/Target/Hexagon/RDFRegisters.cpp
  llvm/lib/Target/Hexagon/RDFRegisters.h
  llvm/lib/Target/X86/CMakeLists.txt
  llvm/lib/Target/X86/ImmutableGraph.h
  llvm/lib/Target/X86/X86.h
  llvm/lib/Target/X86/X86.td
  llvm/lib/Target/X86/X86FastISel.cpp
  llvm/lib/Target/X86/X86FrameLowering.cpp
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86InstrCompiler.td
  llvm/lib/Target/X86/X86InstrControl.td
  llvm/lib/Target/X86/X86InstrInfo.td
  llvm/lib/Target/X86/X86LoadValueInjectionIndirectThunks.cpp
  llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
  llvm/lib/Target/X86/X86LoadValueInjectionRetHardening.cpp
  llvm/lib/Target/X86/X86MCInstLower.cpp
  llvm/lib/Target/X86/X86Subtarget.h
  llvm/lib/Target/X86/X86TargetMachine.cpp
  llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
  llvm/test/CodeGen/X86/O0-pipeline.ll
  llvm/test/CodeGen/X86/O3-pipeline.ll
  llvm/test/CodeGen/X86/lvi-hardening-gadget-graph.ll
  llvm/test/CodeGen/X86/lvi-hardening-indirectbr.ll
  llvm/test/CodeGen/X86/lvi-hardening-loads.ll
  llvm/test/CodeGen/X86/lvi-hardening-ret.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75938.249426.patch
Type: text/x-patch
Size: 119264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200310/599d65d7/attachment-0001.bin>


More information about the cfe-commits mailing list