This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Move getDebugValueLoc from static in Local.cpp to DebugInfo.h
ClosedPublic

Authored by Orlando on Aug 22 2022, 2:04 AM.

Details

Summary

Move getDebugValueLoc so that it can be accessed from DebugInfo.h for the Assignment Tracking patch stack and remove redundant parameter Src.

Diff Detail

Event Timeline

Orlando created this revision.Aug 22 2022, 2:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 2:04 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Orlando requested review of this revision.Aug 22 2022, 2:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 2:04 AM
jryans accepted this revision.Aug 22 2022, 2:14 AM
jryans added a subscriber: jryans.

Makes sense to me, seems like a useful shared utility function. 🙂

This revision is now accepted and ready to land.Aug 22 2022, 2:14 AM
This revision was landed with ongoing or failed builds.Nov 7 2022, 7:15 AM
This revision was automatically updated to reflect the committed changes.

I am sorry for reverting this patch, but I have to revert it because I need to revert 171f7024cc82e8702abebdedb699d37b50574be7 due to the cyclic dependency that was introduced in the modules build