Skip to content

Commit

Permalink
[llvm-size] Fix spelling errors (Berkely -> Berkeley)
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371845 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jh7370 committed Sep 13, 2019
1 parent e8e4b1e commit 7563f17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/llvm-size/llvm-size.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7563f17

Please sign in to comment.