Get rid of UserVariables set, and turn DbgValues into MapVector
to get a fixed ordering, as suggested in review for http://reviews.llvm.org/D3573.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | ||
---|---|---|
1207 | You can probably push DIVariable DV(Var) up to DIVariable DV(I.first) and Processed.count(DV) (I think the implicit conversion to MDNode* will work out here). Just to avoid having that raw MDNode* lying around. Not necessary, up to you if you want to do it at all and either in this commit or separately. | |
1453 | Looks great & makes a lot more sense to me now. |
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | ||
---|---|---|
1207 | Done. |
You can probably push DIVariable DV(Var) up to DIVariable DV(I.first) and Processed.count(DV) (I think the implicit conversion to MDNode* will work out here). Just to avoid having that raw MDNode* lying around.
Not necessary, up to you if you want to do it at all and either in this commit or separately.