diff options
author | David Meyer <pdox@google.com> | 2012-03-09 20:41:57 +0000 |
---|---|---|
committer | David Meyer <pdox@google.com> | 2012-03-09 20:41:57 +0000 |
commit | 6f9489a86f33624f9ff5388411d12359ce9cef20 (patch) | |
tree | 24b05bed8391c0be6059143a5639605ec28f77b0 /lib/Object/MachOObjectFile.cpp | |
parent | a8eb6bb408e84ceb468ceb409f4c87308e67b9eb (diff) |
[Object]
Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/MachOObjectFile.cpp')
-rw-r--r-- | lib/Object/MachOObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index 655c40aeda..819409e3a1 100644 --- a/lib/Object/MachOObjectFile.cpp +++ b/lib/Object/MachOObjectFile.cpp @@ -30,7 +30,7 @@ namespace object { MachOObjectFile::MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO, error_code &ec) - : ObjectFile(Binary::isMachO, Object, ec), + : ObjectFile(Binary::ID_MachO, Object, ec), MachOObj(MOO), RegisteredStringTable(std::numeric_limits<uint32_t>::max()) { DataRefImpl DRI; |