[llvm-commits] [llvm] r121465 - in /llvm/trunk: include/llvm/Object/MachOFormat.h lib/Object/MachOObject.cpp tools/macho-dump/macho-dump.cpp
Daniel Dunbar
daniel at zuster.org
Thu Dec 9 22:19:39 PST 2010
Author: ddunbar
Date: Fri Dec 10 00:19:39 2010
New Revision: 121465
URL: http://llvm.org/viewvc/llvm-project?rev=121465&view=rev
Log:
Mach-O: Tweak field name.
Modified:
llvm/trunk/include/llvm/Object/MachOFormat.h
llvm/trunk/lib/Object/MachOObject.cpp
llvm/trunk/tools/macho-dump/macho-dump.cpp
Modified: llvm/trunk/include/llvm/Object/MachOFormat.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/MachOFormat.h?rev=121465&r1=121464&r2=121465&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/MachOFormat.h (original)
+++ llvm/trunk/include/llvm/Object/MachOFormat.h Fri Dec 10 00:19:39 2010
@@ -190,7 +190,7 @@
uint32_t Type;
uint32_t Size;
- uint32_t LocalSymbolIndex;
+ uint32_t LocalSymbolsIndex;
uint32_t NumLocalSymbols;
uint32_t ExternalSymbolsIndex;
Modified: llvm/trunk/lib/Object/MachOObject.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/MachOObject.cpp?rev=121465&r1=121464&r2=121465&view=diff
==============================================================================
--- llvm/trunk/lib/Object/MachOObject.cpp (original)
+++ llvm/trunk/lib/Object/MachOObject.cpp Fri Dec 10 00:19:39 2010
@@ -217,7 +217,7 @@
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);
Modified: llvm/trunk/tools/macho-dump/macho-dump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/macho-dump/macho-dump.cpp?rev=121465&r1=121464&r2=121465&view=diff
==============================================================================
--- llvm/trunk/tools/macho-dump/macho-dump.cpp (original)
+++ llvm/trunk/tools/macho-dump/macho-dump.cpp Fri Dec 10 00:19:39 2010
@@ -288,7 +288,7 @@
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";
More information about the llvm-commits
mailing list