[all-commits] [llvm/llvm-project] c450e4: [llvm-dwarfdump] Fix unsigned overflow when calcul...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Fri Oct 15 03:16:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c450e47a8c2d7f73ddeb370725e163d418e215e7
      https://github.com/llvm/llvm-project/commit/c450e47a8c2d7f73ddeb370725e163d418e215e7
  Author: djtodoro <djordje.todorovic at syrmia.com>
  Date:   2021-10-15 (Fri, 15 Oct 2021)

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

  Log Message:
  -----------
  [llvm-dwarfdump] Fix unsigned overflow when calculating stats

This fixes https://bugs.llvm.org/show_bug.cgi?id=51652.

The idea is to bump all the stat fields to 64-bit wide
unsigned integers. I've confirmed this resolves
the use case for chromium.

Differential Revision: https://reviews.llvm.org/D109217




More information about the All-commits mailing list