This is an archive of the discontinued LLVM Phabricator instance.

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

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



As discussed on RFC (, 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


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