summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-17 20:19:29 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-17 20:19:29 +0000
commitd39466760a7a17a834c7e659346977bcc10ef1f4 (patch)
tree0cd454eeb085cbda7350dbab90b770dec77decfb /llvm/lib/Object/MachOObjectFile.cpp
parenta892966218c2c7907bdc3f158685b7aa08ac9984 (diff)
downloadbcm5719-llvm-d39466760a7a17a834c7e659346977bcc10ef1f4.tar.gz
bcm5719-llvm-d39466760a7a17a834c7e659346977bcc10ef1f4.zip
Object: Fix redundant name.
llvm-svn: 142238
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index 507df5865eb..55887c91c14 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud