This is an archive of the discontinued LLVM Phabricator instance.

Add perf jitdump support to JITLink
AbandonedPublic

Authored by pchintalapudi on Mar 14 2023, 9:10 AM.

Details

Reviewers
lhames
jdoerfert
Summary

This patch ports PerfJITEventListener to JITLink as PerfSupportPlugin, with a DWARFSupportPlugin to support parsing DWARF information from LinkGraphs. It also adds unwind record emission to the jitdump file.

Commit History:

Temporarily working debuginfo for lines

Handle DWARF relocations properly

Use a more complicated test for debuginfo

Unwinding information

Diff Detail

Event Timeline

pchintalapudi created this revision.Mar 14 2023, 9:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2023, 9:10 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
pchintalapudi requested review of this revision.Mar 14 2023, 9:10 AM
Herald added a project: Restricted Project. · View Herald Transcript
vchuravy added a project: Restricted Project.Mar 14 2023, 9:11 AM
vchuravy added a subscriber: Restricted Project.
vchuravy retitled this revision from Add code loading perf support to Add perf jitdump support to JITLink.Mar 14 2023, 9:12 AM
pchintalapudi edited the summary of this revision. (Show Details)Mar 14 2023, 9:14 AM
pchintalapudi abandoned this revision.Mar 19 2023, 11:09 PM

Abandoning in favor of D146169 and D146391.