mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
[llvm-dwarfdump] Fix dumping of wrong locstats map
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373469 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
; CHECK: "vars with 80-89% of its scope covered":1
|
||||
; CHECK: "vars with 90-99% of its scope covered":0
|
||||
; CHECK: "vars with 100% of its scope covered":1
|
||||
; CHECK: "vars (excluding the debug entry values) with 0% of its scope covered":0
|
||||
; CHECK: "vars (excluding the debug entry values) with 0% of its scope covered":1
|
||||
; CHECK: "vars (excluding the debug entry values) with 1-9% of its scope covered":0
|
||||
; CHECK: "vars (excluding the debug entry values) with 10-19% of its scope covered":0
|
||||
; CHECK: "vars (excluding the debug entry values) with 20-29% of its scope covered":0
|
||||
@@ -80,9 +80,9 @@
|
||||
; CHECK: "vars (excluding the debug entry values) with 50-59% of its scope covered":1
|
||||
; CHECK: "vars (excluding the debug entry values) with 60-69% of its scope covered":0
|
||||
; CHECK: "vars (excluding the debug entry values) with 70-79% of its scope covered":0
|
||||
; CHECK: "vars (excluding the debug entry values) with 80-89% of its scope covered":0
|
||||
; CHECK: "vars (excluding the debug entry values) with 80-89% of its scope covered":1
|
||||
; CHECK: "vars (excluding the debug entry values) with 90-99% of its scope covered":0
|
||||
; CHECK: "vars (excluding the debug entry values) with 100% of its scope covered":1}
|
||||
; CHECK: "vars (excluding the debug entry values) with 100% of its scope covered":1
|
||||
;
|
||||
; The source code of the test case:
|
||||
; extern void fn3(int *);
|
||||
|
||||
@@ -600,7 +600,7 @@ bool collectStatsForObjectFile(ObjectFile &Obj, DWARFContext &DICtx,
|
||||
printDatum(OS, "total vars procesed by location statistics", LocStats.NumVar);
|
||||
printLocationStats(OS, "vars", LocStats.VarLocStats);
|
||||
printLocationStats(OS, "vars (excluding the debug entry values)",
|
||||
LocStats.ParamNonEntryValLocStats);
|
||||
LocStats.VarNonEntryValLocStats);
|
||||
OS << "}\n";
|
||||
LLVM_DEBUG(
|
||||
llvm::dbgs() << "Total Availability: "
|
||||
|
||||
Reference in New Issue
Block a user