diff options
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; |