[PATCH] D71070: [llvm-dwarfdump][Statistics] Don't count coverage less than 1% as 0%
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 07:11:53 PST 2019
spatel added a comment.
I'm seeing test failures on trunk after this commit:
FAIL: LLVM :: tools/llvm-locstats/locstats.ll (33082 of 34788)
******************** TEST 'LLVM :: tools/llvm-locstats/locstats.ll' FAILED ********************
Script:
--
: 'RUN: at line 3'; /Users/spatel/GitHub/llvm-project/release/bin/llc /Users/spatel/GitHub/llvm-project/llvm/test/tools/llvm-locstats/locstats.ll -o /Users/spatel/GitHub/llvm-project/release/test/tools/llvm-locstats/Output/locstats.ll.tmp0.o -filetype=obj
: 'RUN: at line 4'; '/usr/bin/python' /Users/spatel/GitHub/llvm-project/release/./bin/llvm-locstats /Users/spatel/GitHub/llvm-project/release/test/tools/llvm-locstats/Output/locstats.ll.tmp0.o | /Users/spatel/GitHub/llvm-project/release/bin/FileCheck /Users/spatel/GitHub/llvm-project/llvm/test/tools/llvm-locstats/locstats.ll --check-prefix=LOCSTATS
--
Exit Code: 2
Command Output (stderr):
--
Traceback (most recent call last):
File "/Users/spatel/GitHub/llvm-project/release/./bin/llvm-locstats", line 212, in <module>
Main()
File "/Users/spatel/GitHub/llvm-project/release/./bin/llvm-locstats", line 190, in Main
variables_coverage_map[cov_bucket] = json_parsed[cov_category]
KeyError: 'variables with [1%,10%) of its scope covered'
FileCheck error: '-' is empty.
FileCheck command line: /Users/spatel/GitHub/llvm-project/release/bin/FileCheck /Users/spatel/GitHub/llvm-project/llvm/test/tools/llvm-locstats/locstats.ll --check-prefix=LOCSTATS
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71070/new/
https://reviews.llvm.org/D71070
More information about the llvm-commits
mailing list