Based on discussion in D24180, redo the method with less indentation which should help make the other patch easier to understand.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | ||
---|---|---|
1016–1037 | Would it help to reverse these two and early return from the UnknownLocations case - so the major "if (DL)" case could be non-indented? (but if the way you've got it works best for your other patch, that's cool) |
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | ||
---|---|---|
1016–1037 | Yes, thanks, it does help a bit. That one is still the biggest case, even with the other patch. |
Would it help to reverse these two and early return from the UnknownLocations case - so the major "if (DL)" case could be non-indented? (but if the way you've got it works best for your other patch, that's cool)