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

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 06:29:59 PDT 2018


labath added inline comments.


================
Comment at: lib/DebugInfo/DWARF/DWARFVerifier.cpp:1004
+  // Verifying type unit indexes not supported.
+  if (NI.getLocalTUCount() + NI.getForeignTUCount() > 0)
+    return 0;
----------------
JDevlieghere wrote:
> Should we somehow inform the users of this? Either with a note or even a warning?
Good point. I'll add a warning.


Repository:
  rL LLVM

https://reviews.llvm.org/D45323





More information about the llvm-commits mailing list