[PATCH] D146391: Add DWARFContext generation from LinkGraphs, use in perf support

Prem Chintalapudi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 19 13:54:38 PDT 2023


pchintalapudi created this revision.
pchintalapudi added a reviewer: lhames.
Herald added subscribers: mgrang, hiraditya.
Herald added a project: All.
pchintalapudi requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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

Depends on D146169 <https://reviews.llvm.org/D146169>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146391

Files:
  llvm/include/llvm/ExecutionEngine/Orc/DebugInfoSupport.h
  llvm/include/llvm/ExecutionEngine/Orc/PerfSupportPlugin.h
  llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
  llvm/lib/ExecutionEngine/Orc/DebugInfoSupport.cpp
  llvm/lib/ExecutionEngine/Orc/PerfSupportPlugin.cpp
  llvm/tools/llvm-jitlink/llvm-jitlink.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146391.506420.patch
Type: text/x-patch
Size: 14970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230319/76dee73d/attachment.bin>


More information about the llvm-commits mailing list