Page MenuHomePhabricator

[mlir][llvm] Import additional debug info from LLVMIR.

Authored by gysit on Nov 17 2022, 7:14 AM.



Add a DebugImporter to convert LLVMIR debug metadata into
MLIR debug attributes. It is the counterpart to the
DebugTranslation class and supports the same attributes.
The revision only supports the translation of instruction,
function, and module debug information. The import of
intrinsics is left to a later revision.

Depends on D138206

Diff Detail

Event Timeline

gysit created this revision.Nov 17 2022, 7:14 AM
Herald added a project: Restricted Project. · View Herald Transcript
gysit requested review of this revision.Nov 17 2022, 7:14 AM
rriddle accepted this revision.Nov 17 2022, 11:56 AM
rriddle added inline comments.

Drop the newline here.



This revision is now accepted and ready to land.Nov 17 2022, 11:56 AM
gysit updated this revision to Diff 476370.Nov 18 2022, 12:27 AM
gysit marked 2 inline comments as done.

Address comments.

This revision was automatically updated to reflect the committed changes.