Browse Source

[llvm-locstats] Fix 'only params' no entry value stats

Adding the missing line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374875 91177308-0d34-0410-b5e6-96231b3b80d8
Djordje Todorovic 5 years ago
parent
commit
952c6f1568
1 changed files with 1 additions and 0 deletions
  1. 1 0
      utils/llvm-locstats/llvm-locstats.py

+ 1 - 0
utils/llvm-locstats/llvm-locstats.py

@@ -167,6 +167,7 @@ def Main():
         cov_category = \
         cov_category = \
           "params (excluding the debug entry values) " \
           "params (excluding the debug entry values) " \
           "with {} of its scope covered".format(cov_bucket)
           "with {} of its scope covered".format(cov_bucket)
+        variables_coverage_map[cov_bucket] = json_parsed[cov_category]
   else:
   else:
     # Read the JSON for both local variables and formal parameters.
     # Read the JSON for both local variables and formal parameters.
     variables_total = \
     variables_total = \