This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Add GNU extensions for call site info DWARF symbols
ClosedPublic

Authored by djtodoro on Apr 15 2019, 8:19 AM.

Details

Summary

As discussed on RFC (http://lists.llvm.org/pipermail/llvm-dev/2019-February/130094.html), this is set of patches that introduces debug information about call site and call site parameters. Since LLVM has portion of this support (dumping DWARF 5 symbols for calls), we generate GNU extensions as well. All of that will be restricted under an option, until we do all necessary testing and patching.

The latest set of patches introduces proposal for implementing the functionality as late MIR analysis.

Authors: @asowda, @NikolaPrica, @djtodoro, @ivanbaev

Diff Detail

Repository
rL LLVM

Event Timeline

djtodoro created this revision.Apr 15 2019, 8:19 AM
aprantl accepted this revision.Apr 15 2019, 8:55 PM
This revision is now accepted and ready to land.Apr 15 2019, 8:55 PM
vsk added a comment.Apr 25 2019, 2:16 PM

Is there a separate patch which adds DWARF verifier support for these new attributes? If not, this could be the right vehicle for it.

@vsk Thanks for your comment! We will add DWARF verifier support for the GNU extensions.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2019, 12:31 AM