X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FObject%2FBinary.cpp;h=63898d277f355d8eeb650140bfe3ba083d77c7ce;hb=07dc57c38ac3b933860380c0d8c3fc7b9a830662;hp=a2f4ec9a0b8fe5ce6650bcec0b02782e54e2f94e;hpb=bf2b27cfdee1e564016a2808a23f22b406989ae3;p=oota-llvm.git diff --git a/lib/Object/Binary.cpp b/lib/Object/Binary.cpp index a2f4ec9a0b8..63898d277f3 100644 --- a/lib/Object/Binary.cpp +++ b/lib/Object/Binary.cpp @@ -67,7 +67,7 @@ ErrorOr object::createBinary(MemoryBuffer *Source, case sys::fs::file_magic::coff_object: case sys::fs::file_magic::coff_import_library: case sys::fs::file_magic::pecoff_executable: - return ObjectFile::createObjectFile(scopedSource.take(), Type); + return ObjectFile::createObjectFile(scopedSource.take(), true, Type); case sys::fs::file_magic::macho_universal_binary: return MachOUniversalBinary::create(scopedSource.take()); case sys::fs::file_magic::unknown: