This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Rename DbgValueHistoryMap::{InstrRange -> Entry}, NFC
ClosedPublic

Authored by dstenb on Mar 28 2019, 8:40 AM.

Details

Summary

In an upcoming commit the history map will be changed so that it
contains explicit entries for instructions that clobber preceding debug
values, rather than Begin- End range pairs, so generalize the name to
"Entry".

Also, prefix the iterator variable names in buildLocationList() with
"E". In an upcoming commit the entry will have query functions such as
"isD(e)b(u)gValue", which could at a glance make one confuse it for
iterations over MachineInstrs, so make the iterator names a bit more
distinct to avoid that.

Diff Detail

Repository
rL LLVM

Event Timeline

dstenb created this revision.Mar 28 2019, 8:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2019, 8:40 AM
aprantl accepted this revision.Apr 8 2019, 11:38 AM
This revision is now accepted and ready to land.Apr 8 2019, 11:38 AM
This revision was automatically updated to reflect the committed changes.