[llvm-dwarfdump] Fix a typo: witin -> within
authorFangrui Song <maskray@google.com>
Thu, 20 Aug 2020 21:11:08 +0000 (14:11 -0700)
committerFangrui Song <maskray@google.com>
Thu, 20 Aug 2020 21:12:37 +0000 (14:12 -0700)
llvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test
llvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test
llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
llvm/tools/llvm-dwarfdump/Statistics.cpp

index 1b8e639..619a280 100644 (file)
@@ -82,8 +82,8 @@ CHECK: "#source variables with location":22
 CHECK: "#call site entries":7
 CHECK: "sum_all_variables(#bytes in parent scope)":2817
 CHECK: "sum_all_variables(#bytes in parent scope covered by DW_AT_location)":1160
-CHECK: "#bytes witin functions":594
-CHECK: "#bytes witin inlined functions":345
+CHECK: "#bytes within functions":594
+CHECK: "#bytes within inlined functions":345
 CHECK: "#params":12
 CHECK: "#params with source location":12
 CHECK: "#params with type":12
index 257849b..fa6ce5b 100644 (file)
@@ -77,8 +77,8 @@ CHECK: "#source variables with location":24
 CHECK: "#call site entries":8
 CHECK: "sum_all_variables(#bytes in parent scope)":3072
 CHECK: "sum_all_variables(#bytes in parent scope covered by DW_AT_location)":1188
-CHECK: "#bytes witin functions":636
-CHECK: "#bytes witin inlined functions":388
+CHECK: "#bytes within functions":636
+CHECK: "#bytes within inlined functions":388
 CHECK: "#params":13
 CHECK: "#params with source location":13
 CHECK: "#params with type":13
index bd717df..e86f433 100644 (file)
@@ -52,8 +52,8 @@
 ; CHECK-NOT: "sum_all_local_vars(#bytes in parent scope covered by DW_AT_location)":0
 ; CHECK-NOT: "sum_all_local_vars(#bytes in parent scope covered by DW_AT_location)":[[BYTES]]
 ; CHECK: "sum_all_local_vars(#bytes in parent scope covered by DW_AT_location)":
-; CHECK: "#bytes witin functions":[[FUNCSIZE:[0-9]+]]
-; CHECK: "#bytes witin inlined functions":[[INLINESIZE:[0-9]+]]
+; CHECK: "#bytes within functions":[[FUNCSIZE:[0-9]+]]
+; CHECK: "#bytes within inlined functions":[[INLINESIZE:[0-9]+]]
 ; CHECK: "#bytes in __debug_info":459
 ; CHECK: "#bytes in __debug_loc":35
 ; CHECK: "#bytes in __debug_abbrev":384
index e1eeaf7..41600c6 100644 (file)
@@ -648,8 +648,8 @@ bool dwarfdump::collectStatsForObjectFile(ObjectFile &Obj, DWARFContext &DICtx,
              "DW_OP_entry_value)",
              GlobalStats.LocalVarScopeEntryValueBytesCovered);
 
-  printDatum(J, "#bytes witin functions", GlobalStats.FunctionSize);
-  printDatum(J, "#bytes witin inlined functions",
+  printDatum(J, "#bytes within functions", GlobalStats.FunctionSize);
+  printDatum(J, "#bytes within inlined functions",
              GlobalStats.InlineFunctionSize);
 
   // Print the summary for formal parameters.