[all-commits] [llvm/llvm-project] baea91: [llvm-locstats] Avoid the locstats when no scope b...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Fri Dec 13 04:45:57 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: baea913609f1f3ddbd6fc6faf593524921507628
      https://github.com/llvm/llvm-project/commit/baea913609f1f3ddbd6fc6faf593524921507628
  Author: Djordje Todorovic <djordje.todorovic at rt-rk.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    A llvm/test/tools/llvm-locstats/no_scope_bytes.ll
    M llvm/utils/llvm-locstats/llvm-locstats.py

  Log Message:
  -----------
  [llvm-locstats] Avoid the locstats when no scope bytes coverage found

If the total number of PC range bytes in each variable's enclosing scope
('scope bytes total') is 0, we will have division by zero.

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




More information about the All-commits mailing list