This is an archive of the discontinued LLVM Phabricator instance.

[NFC][DebugInfo] getDwarfCompileUnitID
ClosedPublic

Authored by kyulee on Aug 17 2021, 11:04 PM.

Diff Detail

Event Timeline

kyulee created this revision.Aug 17 2021, 11:04 PM
kyulee requested review of this revision.Aug 17 2021, 11:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2021, 11:04 PM

Perhaps the name of the function should have something to do with line tables, since this is only for use when generating line tables (& in non-line table situations the code should use the CU.getUniqueID directly, I think?)?

Perhaps the name of the function should have something to do with line tables, since this is only for use when generating line tables (& in non-line table situations the code should use the CU.getUniqueID directly, I think?)?

What about getDwarfCompileUnitIDForLineTable?

dblaikie accepted this revision.Aug 18 2021, 4:08 PM

Perhaps the name of the function should have something to do with line tables, since this is only for use when generating line tables (& in non-line table situations the code should use the CU.getUniqueID directly, I think?)?

What about getDwarfCompileUnitIDForLineTable?

Sure, sounds good!

This revision is now accepted and ready to land.Aug 18 2021, 4:08 PM
This revision was automatically updated to reflect the committed changes.