[all-commits] [llvm/llvm-project] 6f867f: [X86] Support ``-mindirect-branch-cs-prefix`` for ...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Thu Aug 4 00:17:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f867f9102838ebe314c1f3661fdf95700386e5a
      https://github.com/llvm/llvm-project/commit/6f867f9102838ebe314c1f3661fdf95700386e5a
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/CodeGen/X86/indirect-branch-cs-prefix.c
    M clang/test/Driver/x86_features.c
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/lib/Target/X86/X86ReturnThunks.cpp
    M llvm/test/CodeGen/X86/attr-function-return.ll
    M llvm/test/CodeGen/X86/lvi-hardening-indirectbr.ll

  Log Message:
  -----------
  [X86] Support ``-mindirect-branch-cs-prefix`` for call and jmp to indirect thunk

This is to address feature request from https://github.com/ClangBuiltLinux/linux/issues/1665

Reviewed By: nickdesaulniers, MaskRay

Differential Revision: https://reviews.llvm.org/D130754




More information about the All-commits mailing list