[all-commits] [llvm/llvm-project] 7ddf7d: [ORC] Add DWARFContext generation from LinkGraphs, ...

pchintalapudi via All-commits all-commits at lists.llvm.org
Thu Sep 28 16:14:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ddf7d87831a90164fd125589850fcf48d24f33f
      https://github.com/llvm/llvm-project/commit/7ddf7d87831a90164fd125589850fcf48d24f33f
  Author: Prem Chintalapudi <prem.chintalapudi at gmail.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    A llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebugInfoSupport.h
    A llvm/include/llvm/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.h
    R llvm/include/llvm/ExecutionEngine/Orc/PerfSupportPlugin.h
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/Debugging/CMakeLists.txt
    A llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp
    A llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp
    R llvm/lib/ExecutionEngine/Orc/PerfSupportPlugin.cpp
    M llvm/tools/llvm-jitlink/CMakeLists.txt
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [ORC] Add DWARFContext generation from LinkGraphs, use in perf support.

This patch adds line numbers to perf jitdump records emitted by the
PerfSupportPlugin, by parsing and using a DWARFContext from preserved debug
sections.

To avoid making the OrcJIT library depend on DebugInfoDWARF this patch
introduces a new OrcDebugging library.

Reviewed By: lhames

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




More information about the All-commits mailing list