diff options
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/COFFObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp index 08eb0d0..574f7a7 100644 --- a/llvm/lib/Object/COFFObjectFile.cpp +++ b/llvm/lib/Object/COFFObjectFile.cpp @@ -1907,7 +1907,7 @@ Error ResourceSectionRef::load(const COFFObjectFile *O, const SectionRef &S) { Expected<StringRef> Contents = Section.getContents(); if (!Contents) return Contents.takeError(); - BBS = BinaryByteStream(*Contents, support::little); + BBS = BinaryByteStream(*Contents, llvm::endianness::little); const coff_section *COFFSect = Obj->getCOFFSection(Section); ArrayRef<coff_relocation> OrigRelocs = Obj->getRelocations(COFFSect); Relocs.reserve(OrigRelocs.size()); |