[all-commits] [llvm/llvm-project] ef33d6: [XRay] Add initial support for loongarch64

Lu Weining via All-commits all-commits at lists.llvm.org
Thu Jul 13 18:28:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef33d6cbfc2dada0709783563fee57e6afd9a2d9
      https://github.com/llvm/llvm-project/commit/ef33d6cbfc2dada0709783563fee57e6afd9a2d9
  Author: Weining Lu <luweining at loongson.cn>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M clang/lib/Driver/XRayArgs.cpp
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/lib/xray/CMakeLists.txt
    M compiler-rt/lib/xray/xray_interface.cpp
    A compiler-rt/lib/xray/xray_loongarch64.cpp
    A compiler-rt/lib/xray/xray_trampoline_loongarch64.S
    M compiler-rt/lib/xray/xray_tsc.h
    M compiler-rt/test/xray/TestCases/Posix/c-test.cpp
    M compiler-rt/test/xray/TestCases/Posix/fdr-thread-order.cpp
    M llvm/lib/CodeGen/XRayInstrumentation.cpp
    M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
    M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
    M llvm/lib/Target/LoongArch/LoongArchSubtarget.h
    M llvm/lib/XRay/InstrumentationMap.cpp
    A llvm/test/CodeGen/LoongArch/xray-attribute-instrumentation.ll

  Log Message:
  -----------
  [XRay] Add initial support for loongarch64

Only support patching FunctionEntry/FunctionExit/FunctionTailExit for now.

Reviewed By: MaskRay, xen0n
Co-Authored-By: zhanglimin <zhanglimin at loongson.cn>

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




More information about the All-commits mailing list