[PATCH] D109217: [NOT FOR COMMIT] [llvm-dwarfdump] Fix unsigned overflow when calculating stats

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 7 01:49:25 PDT 2021


djtodoro updated this revision to Diff 371007.
djtodoro edited the summary of this revision.
djtodoro added a comment.

- add a test
- bump the stats version
- address the comments (I think that these few asserts are enough for this)
- split JSON part into a separate patch


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

https://reviews.llvm.org/D109217

Files:
  llvm/test/tools/llvm-dwarfdump/X86/locstats-big-number-of-bytes.yaml
  llvm/test/tools/llvm-dwarfdump/X86/locstats-for-absctract-origin-vars.yaml
  llvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test
  llvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test
  llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
  llvm/test/tools/llvm-dwarfdump/X86/stats-scope-bytes-covered.yaml
  llvm/tools/llvm-dwarfdump/Statistics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109217.371007.patch
Type: text/x-patch
Size: 17079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210907/d89cf91c/attachment.bin>


More information about the llvm-commits mailing list