[all-commits] [llvm/llvm-project] 76e152: Non-debuginfo JITLink perf jitdump support

pchintalapudi via All-commits all-commits at lists.llvm.org
Tue Apr 18 14:16:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76e1521b0acff739c0425d0fcbb9360fc17f1af8
      https://github.com/llvm/llvm-project/commit/76e1521b0acff739c0425d0fcbb9360fc17f1af8
  Author: Prem Chintalapudi <prem.chintalapudi at gmail.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    A llvm/include/llvm/ExecutionEngine/Orc/PerfSupportPlugin.h
    A llvm/include/llvm/ExecutionEngine/Orc/Shared/PerfSharedStructs.h
    A llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.h
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/PerfSupportPlugin.cpp
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.cpp
    A llvm/test/ExecutionEngine/JITLink/x86-64/ELF_perf.s
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  Non-debuginfo JITLink perf jitdump support

This patch ports PerfJITEventListener to a JITLink plugin, but adds unwind record support and drops debuginfo support temporarily. Debuginfo can be enabled in the future by providing a way to obtain a DWARFContext from a LinkGraph.

See D146060 for an experimental implementation that adds debuginfo parsing.

Reviewed By: lhames

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




More information about the All-commits mailing list