[all-commits] [llvm/llvm-project] db5dfe: [Clang][LoongArch] Implement patchable function entry

WÁNG Xuěruì via All-commits all-commits at lists.llvm.org
Wed Mar 15 18:34:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db5dfec9d4442c360e9712bbd71b3462cac427e9
      https://github.com/llvm/llvm-project/commit/db5dfec9d4442c360e9712bbd71b3462cac427e9
  Author: WANG Xuerui <git at xen0n.name>
  Date:   2023-03-16 (Thu, 16 Mar 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/fpatchable-function-entry.c
    M clang/test/Sema/patchable-function-entry-attr.cpp
    M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
    M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
    A llvm/test/CodeGen/LoongArch/patchable-function-entry.ll

  Log Message:
  -----------
  [Clang][LoongArch] Implement patchable function entry

Similar to D98610 for RISCV.

This is going to be required by the upcoming Linux/LoongArch
[[ https://git.kernel.org/linus/4733f09d88074 | support for dynamic ftrace ]].

Reviewed By: SixWeining, MaskRay

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




More information about the All-commits mailing list