[PATCH] D45323: DWARFVerifier: validate information in name index entries

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 05:55:18 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/DWARFVerifier.cpp:1004
+  // Verifying type unit indexes not supported.
+  if (NI.getLocalTUCount() + NI.getForeignTUCount() > 0)
+    return 0;
----------------
Should we somehow inform the users of this? Either with a note or even a warning?


Repository:
  rL LLVM

https://reviews.llvm.org/D45323





More information about the llvm-commits mailing list