This is an archive of the discontinued LLVM Phabricator instance.

[NFC] SCEVExpander: add SetCurrentDebugLocation() / getCurrentDebugLocation() wrappers
ClosedPublic

Authored by lebedev.ri on Apr 23 2019, 6:12 AM.

Details

Summary

The internal Builder is private, which means there is
currently no way to set the debuginfo locations for SCEVExpander.
This only adds the wrappers, but does not use them anywhere.

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.Apr 23 2019, 6:12 AM

Rebased, NFC.

sanjoy accepted this revision.Aug 24 2019, 9:59 AM

Lgtm

This revision is now accepted and ready to land.Aug 24 2019, 9:59 AM

Lgtm

I was not landing this as-is because i don't have an use-case for this until D61144.

This revision was automatically updated to reflect the committed changes.