Skip to content

Commit

Permalink
Mach-O: Tweak field name.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121465 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ddunbar committed Dec 10, 2010
1 parent c79637c commit a87d7ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/llvm/Object/MachOFormat.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ namespace macho {
uint32_t Type;
uint32_t Size;

uint32_t LocalSymbolIndex;
uint32_t LocalSymbolsIndex;
uint32_t NumLocalSymbols;

uint32_t ExternalSymbolsIndex;
Expand Down
2 changes: 1 addition & 1 deletion lib/Object/MachOObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ template<>
void SwapStruct(macho::DysymtabLoadCommand &Value) {
SwapValue(Value.Type);
SwapValue(Value.Size);
SwapValue(Value.LocalSymbolIndex);
SwapValue(Value.LocalSymbolsIndex);
SwapValue(Value.NumLocalSymbols);
SwapValue(Value.ExternalSymbolsIndex);
SwapValue(Value.NumExternalSymbols);
Expand Down
2 changes: 1 addition & 1 deletion tools/macho-dump/macho-dump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static int DumpDysymtabCommand(MachOObject &Obj,
if (!DLC)
return Error("unable to read segment load command");

outs() << " ('ilocalsym', " << DLC->LocalSymbolIndex << ")\n";
outs() << " ('ilocalsym', " << DLC->LocalSymbolsIndex << ")\n";
outs() << " ('nlocalsym', " << DLC->NumLocalSymbols << ")\n";
outs() << " ('iextdefsym', " << DLC->ExternalSymbolsIndex << ")\n";
outs() << " ('nextdefsym', " << DLC->NumExternalSymbols << ")\n";
Expand Down

0 comments on commit a87d7ec

Please sign in to comment.