[PATCH] D74923: [DebugInfo]: Do not start parsing macinfo/macinfo.dwo if the section's are empty.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 12:28:51 PST 2020


dblaikie added a comment.

Does this matter? "parsing" an empty section would be successfully parsing zero contributions & dumping nothing. That seems like a fine implementation & avoids needing this special case to check the section size first.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74923





More information about the llvm-commits mailing list