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
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | ||
---|---|---|
1016–1037 ↗ | (On Diff #78893) | 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 ↗ | (On Diff #78893) | Yes, thanks, it does help a bit. That one is still the biggest case, even with the other patch. |