[PATCH] D45307: [DWARF v5][NFC] Refactor the implementation of DebugRnglists

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 06:27:59 PDT 2018


JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp:168
+  while (*OffsetPtr < End) {
+    RangeListEntry Entry{0, 0, 0, 0};
+    if (Error E = Entry.extract(Data, End, OffsetPtr))
----------------
Maybe we should have a constructor for this?


https://reviews.llvm.org/D45307





More information about the llvm-commits mailing list