HomePhabricator

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

Authored by dstenb on Apr 10 2019, 2:07 AM.

Description

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

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.

Reviewers: aprantl

Reviewed By: aprantl

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59939

llvm-svn: 358060

Details

Committed
dstenbApr 10 2019, 2:07 AM
Reviewer
aprantl
Differential Revision
D59939: [DebugInfo] Rename DbgValueHistoryMap::{InstrRange -> Entry}, NFC
Parents
rG3739979c2031: [DebugInfo] Make InstrRange into a class, NFC
Branches
Unknown
Tags
Unknown