diff options
author | Eric Christopher <echristo@apple.com> | 2011-04-22 03:50:50 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-04-22 03:50:50 +0000 |
commit | ea7e13eded163bcae97a976847df91b7a0da2b01 (patch) | |
tree | a44474db2d4047ca5395e2083c219d4aab538ddd /lib/Object/ObjectFile.cpp | |
parent | f0c3af637ae4d8b827909aa5b3d618eea9ef8cd6 (diff) |
Hook in mach-o object files into Object interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/ObjectFile.cpp')
-rw-r--r-- | lib/Object/ObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Object/ObjectFile.cpp b/lib/Object/ObjectFile.cpp index 161ae3a083..47b63115a9 100644 --- a/lib/Object/ObjectFile.cpp +++ b/lib/Object/ObjectFile.cpp @@ -55,7 +55,7 @@ ObjectFile *ObjectFile::createObjectFile(MemoryBuffer *Object) { case sys::Mach_O_DynamicLinker_FileType: case sys::Mach_O_Bundle_FileType: case sys::Mach_O_DynamicallyLinkedSharedLibStub_FileType: - return 0; + return createMachOObjectFile(Object); case sys::COFF_FileType: return createCOFFObjectFile(Object); default: |