This is an archive of the discontinued LLVM Phabricator instance.

[CodeExtractor] Preserve entire scope of labels when moving them
ClosedPublic

Authored by fdeazeve on Dec 12 2022, 8:29 AM.

Details

Summary

When a dbg.label is moved into a new function, its corresponding scope
should be preserved, with the exception of the subprogram at the end of
the scope chain, which should now be the subprogram of the destination
function. See D139671.

Depends on D139848

Diff Detail

Event Timeline

fdeazeve created this revision.Dec 12 2022, 8:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 8:29 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
fdeazeve requested review of this revision.Dec 12 2022, 8:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 8:29 AM
aprantl accepted this revision.Dec 12 2022, 9:28 AM
This revision is now accepted and ready to land.Dec 12 2022, 9:28 AM
This revision was landed with ongoing or failed builds.Dec 12 2022, 12:49 PM
This revision was automatically updated to reflect the committed changes.