[llvm] 2b0f40b - [llvm-dwarfdump] Fix a typo: witin -> within

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 14:12:52 PDT 2020


Author: Fangrui Song
Date: 2020-08-20T14:12:37-07:00
New Revision: 2b0f40b049e653af113f679e15ee653fb06fc56c

URL: https://github.com/llvm/llvm-project/commit/2b0f40b049e653af113f679e15ee653fb06fc56c
DIFF: https://github.com/llvm/llvm-project/commit/2b0f40b049e653af113f679e15ee653fb06fc56c.diff

LOG: [llvm-dwarfdump] Fix a typo: witin -> within

Added: 
    

Modified: 
    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

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test b/llvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test
index 1b8e63986758..619a280eae80 100644
--- a/llvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test
+++ b/llvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test
@@ -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

diff  --git a/llvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test b/llvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test
index 257849b46f3c..fa6ce5b5a24e 100644
--- a/llvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test
+++ b/llvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test
@@ -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

diff  --git a/llvm/test/tools/llvm-dwarfdump/X86/statistics.ll b/llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
index bd717dfc85b3..e86f4333f06a 100644
--- a/llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
+++ b/llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
@@ -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

diff  --git a/llvm/tools/llvm-dwarfdump/Statistics.cpp b/llvm/tools/llvm-dwarfdump/Statistics.cpp
index e1eeaf778d53..41600c6222ea 100644
--- a/llvm/tools/llvm-dwarfdump/Statistics.cpp
+++ b/llvm/tools/llvm-dwarfdump/Statistics.cpp
@@ -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.


        


More information about the llvm-commits mailing list