From ed48e53d604a4264c1907b9bf4b14a82edf0eb60 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 27 Apr 2015 22:48:51 +0000 Subject: Use MemoryBufferRef instead of MemoryBuffer&. NFC. This just reduces the noise from another patch. llvm-svn: 235933 --- lld/lib/ReaderWriter/ELF/DynamicFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lld/lib/ReaderWriter/ELF/DynamicFile.h') diff --git a/lld/lib/ReaderWriter/ELF/DynamicFile.h b/lld/lib/ReaderWriter/ELF/DynamicFile.h index ffb43263bad..a155900de78 100644 --- a/lld/lib/ReaderWriter/ELF/DynamicFile.h +++ b/lld/lib/ReaderWriter/ELF/DynamicFile.h @@ -23,7 +23,7 @@ template class DynamicFile : public SharedLibraryFile { public: DynamicFile(std::unique_ptr mb, ELFLinkingContext &ctx); - static std::error_code isCompatible(const MemoryBuffer &mb, + static std::error_code isCompatible(MemoryBufferRef mb, ELFLinkingContext &ctx); const SharedLibraryAtom *exports(StringRef name, -- cgit v1.2.3