Scott Linder via llvm-dev
2020-Apr-17 23:10 UTC
[llvm-dev] [RFC] DWARF Version 6 Proposal For Heterogeneous Debugging
Hi llvm-dev, I'm writing on behalf of a team at AMD working on upstreaming support for AMD GPUs into GDB. We have drafted a proposal of backwards compatible extensions to DWARF for heterogeneous debugging which is rendered at https://llvm.org/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.html. The proposal includes a thorough introduction with justification, so I won't belabor that here, but I do want to reiterate that the extensions are designed to be vendor and architecture neutral, and completely backwards compatible with DWARF 5. I am beginning to work on a reference implementation of the proposal in LLVM, with some very preliminary support appearing in some patches starting at https://reviews.llvm.org/D76877. Note that most of these initial patches are AMDGPU-specific CFI changes, and more general support for the extensions are still a WIP. I intended to also include the proposal inline, but it appears to be too large for the list. Instead I will just mention that the source is available in the llvm-project repo as llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst Regards, Scott
via llvm-dev
2020-Apr-27 14:25 UTC
[llvm-dev] [RFC] DWARF Version 6 Proposal For Heterogeneous Debugging
I don't know what an acceptable ping rate on an RFC is, but I also wanted to add that if anyone prefers to review this on Phabricator the latest diff of https://reviews.llvm.org/D70523 essentially includes the entire contents of the proposal, because it was moved to another file. Thanks, Scott On 2020-04-17 19:10, Scott Linder via llvm-dev wrote:> Hi llvm-dev, > > I'm writing on behalf of a team at AMD working on upstreaming support > for AMD GPUs into GDB. We have drafted a proposal of backwards > compatible extensions to DWARF for heterogeneous debugging which is > rendered at > https://llvm.org/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.html. > > The proposal includes a thorough introduction with justification, so I > won't belabor that here, but I do want to reiterate that the extensions > are designed to be vendor and architecture neutral, and completely > backwards compatible with DWARF 5. > > I am beginning to work on a reference implementation of the proposal in > LLVM, with some very preliminary support appearing in some patches > starting at https://reviews.llvm.org/D76877. Note that most of these > initial patches are AMDGPU-specific CFI changes, and more general > support for the extensions are still a WIP. > > I intended to also include the proposal inline, but it appears to be > too > large for the list. Instead I will just mention that the source is > available in the llvm-project repo as > llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst > > Regards, > Scott > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
James Henderson via llvm-dev
2020-Apr-28 07:34 UTC
[llvm-dev] [RFC] DWARF Version 6 Proposal For Heterogeneous Debugging
Hi Scott, It's possible they've missed it, so I've explicitly CC'ed a number of the usual DWARF suspects, at least some of whom are on the standards committee. I don't have anything specific to add myself. James On Mon, 27 Apr 2020 at 15:25, via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I don't know what an acceptable ping rate on an RFC is, but I also > wanted to add that if anyone prefers to review this on Phabricator the > latest diff of https://reviews.llvm.org/D70523 essentially includes the > entire contents of the proposal, because it was moved to another file. > > Thanks, > Scott > > On 2020-04-17 19:10, Scott Linder via llvm-dev wrote: > > Hi llvm-dev, > > > > I'm writing on behalf of a team at AMD working on upstreaming support > > for AMD GPUs into GDB. We have drafted a proposal of backwards > > compatible extensions to DWARF for heterogeneous debugging which is > > rendered at > > https://llvm.org/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.html. > > > > The proposal includes a thorough introduction with justification, so I > > won't belabor that here, but I do want to reiterate that the extensions > > are designed to be vendor and architecture neutral, and completely > > backwards compatible with DWARF 5. > > > > I am beginning to work on a reference implementation of the proposal in > > LLVM, with some very preliminary support appearing in some patches > > starting at https://reviews.llvm.org/D76877. Note that most of these > > initial patches are AMDGPU-specific CFI changes, and more general > > support for the extensions are still a WIP. > > > > I intended to also include the proposal inline, but it appears to be > > too > > large for the list. Instead I will just mention that the source is > > available in the llvm-project repo as > > llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst > > > > Regards, > > Scott > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200428/b802c9b9/attachment.html>