[llvm] [DebugInfo][InstrRef] Index DebugVariables and some DILocations (PR #99318)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 10:23:32 PDT 2024
================
@@ -1003,38 +1041,44 @@ using OverlapMap =
/// identified.
class VLocTracker {
public:
+ /// Ref to function-wide map of DebugVariable <=> ID-numbers.
+ DebugVariableMap &DVMap;
/// Map DebugVariable to the latest Value it's defined to have.
/// Needs to be a MapVector because we determine order-in-the-input-MIR from
- /// the order in this container.
+ /// the order in this container. (FIXME: this is less true now).
----------------
OCHyams wrote:
Imo it could be helpful to future developers if you explained why it's less true now here?
https://github.com/llvm/llvm-project/pull/99318
More information about the llvm-commits
mailing list