diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-17 20:19:29 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-17 20:19:29 +0000 |
commit | 1130a799ab2fd7042625163a2506518960394884 (patch) | |
tree | 9ae60ed54de96ba0d66d8e5e39c01d10b88f3789 /lib/Object/MachOObjectFile.cpp | |
parent | 1025cce290d99fd325bccd0c1e89dab49eea8140 (diff) |
Object: Fix redundant name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/MachOObjectFile.cpp')
-rw-r--r-- | lib/Object/MachOObjectFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index 507df5865e..55887c91c1 100644 --- a/lib/Object/MachOObjectFile.cpp +++ b/lib/Object/MachOObjectFile.cpp @@ -229,7 +229,7 @@ error_code MachOObjectFile::isSymbolGlobal(DataRefImpl Symb, bool &Res) const { } error_code MachOObjectFile::getSymbolType(DataRefImpl Symb, - SymbolRef::SymbolType &Res) const { + SymbolRef::Type &Res) const { uint8_t n_type; if (MachOObj->is64Bit()) { InMemoryStruct<macho::Symbol64TableEntry> Entry; @@ -454,7 +454,7 @@ error_code MachOObjectFile::isSectionBSS(DataRefImpl DRI, error_code MachOObjectFile::sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb, bool &Result) const { - SymbolRef::SymbolType ST; + SymbolRef::Type ST; getSymbolType(Symb, ST); if (ST == SymbolRef::ST_External) { Result = false; |