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 | d53422d1a73ba6b9c3fe6e53ff3e1ff7630fb20c (patch) | |
tree | 7bb3120f30e5574d34964733920768260f4c6f49 /llvm/lib/Object/Archive.cpp | |
parent | 4fccc877c917de08a7ac8afedad74adc3d02f086 (diff) | |
download | bcm5719-llvm-d53422d1a73ba6b9c3fe6e53ff3e1ff7630fb20c.tar.gz bcm5719-llvm-d53422d1a73ba6b9c3fe6e53ff3e1ff7630fb20c.zip |
[Object]
Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big
llvm-svn: 152435
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
-rw-r--r-- | llvm/lib/Object/Archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/Archive.cpp b/llvm/lib/Object/Archive.cpp index b67377c6341..c5f15bafcfb 100644 --- a/llvm/lib/Object/Archive.cpp +++ b/llvm/lib/Object/Archive.cpp @@ -174,7 +174,7 @@ error_code Archive::Child::getAsBinary(OwningPtr<Binary> &Result) const { } Archive::Archive(MemoryBuffer *source, error_code &ec) - : Binary(Binary::isArchive, source) { + : Binary(Binary::ID_Archive, source) { // Check for sufficient magic. if (!source || source->getBufferSize() < (8 + sizeof(ArchiveMemberHeader) + 2) // Smallest archive. |