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

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 20 08:19:17 PDT 2021


djtodoro updated this revision to Diff 373595.
djtodoro added a comment.

- addressing comments
  - now the warning looks as follows:



  "#call site DIEs": N (llvm-dwarfdump: warning: this field overflows),


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-bytes-overflow.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.373595.patch
Type: text/x-patch
Size: 32176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210920/dbd4764d/attachment.bin>


More information about the llvm-commits mailing list