]> granicus.if.org Git - llvm/commitdiff
[llvm-size] Fix spelling errors (Berkely -> Berkeley)
authorJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 13 Sep 2019 12:00:42 +0000 (12:00 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 13 Sep 2019 12:00:42 +0000 (12:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371845 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-size/llvm-size.cpp

index 87df1264fbca2dac46ce93283a35be0b4b0fe5c3..da56199fe3c2428c9ba2cc94478e8fd655976cb8 100644 (file)
@@ -65,7 +65,7 @@ cl::opt<bool>
 cl::opt<bool>
     ELFCommons("common",
                cl::desc("Print common symbols in the ELF file.  When using "
-                        "Berkely format, this is added to bss."),
+                        "Berkeley format, this is added to bss."),
                cl::init(false), cl::cat(SizeCat));
 
 static cl::list<std::string>
@@ -844,7 +844,7 @@ static void printFileSectionSizes(StringRef file) {
     outs() << "\n";
 }
 
-static void printBerkelyTotals() {
+static void printBerkeleyTotals() {
   std::string fmtbuf;
   raw_string_ostream fmt(fmtbuf);
   const char *radix_fmt = getRadixFmt();
@@ -889,7 +889,7 @@ int main(int argc, char **argv) {
   MoreThanOneFile = InputFilenames.size() > 1;
   llvm::for_each(InputFilenames, printFileSectionSizes);
   if (OutputFormat == berkeley && TotalSizes)
-    printBerkelyTotals();
+    printBerkeleyTotals();
 
   if (HadError)
     return 1;