[PATCH] D75668: [DebugInfo] Print the actual value of an unknown section identifier.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 14:17:15 PST 2020


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

Looks good - thanks!



================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp:121
   }
-  return "<unknown>";
+  return StringRef();
 }
----------------
Might be simpler to write this as `return "";`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75668/new/

https://reviews.llvm.org/D75668





More information about the llvm-commits mailing list