summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/DynamicFile.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-04-27 22:48:51 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-04-27 22:48:51 +0000
commited48e53d604a4264c1907b9bf4b14a82edf0eb60 (patch)
treef41aa13e32a5a771fb8d580ff370a0ea35bc2799 /lld/lib/ReaderWriter/ELF/DynamicFile.h
parenta73aed0c9b816bba6cca50c19f7f646c7048074e (diff)
downloadbcm5719-llvm-ed48e53d604a4264c1907b9bf4b14a82edf0eb60.tar.gz
bcm5719-llvm-ed48e53d604a4264c1907b9bf4b14a82edf0eb60.zip
Use MemoryBufferRef instead of MemoryBuffer&. NFC.
This just reduces the noise from another patch. llvm-svn: 235933
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/DynamicFile.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/DynamicFile.h2
1 files changed, 1 insertions, 1 deletions
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 ELFT> class DynamicFile : public SharedLibraryFile {
public:
DynamicFile(std::unique_ptr<MemoryBuffer> 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,
OpenPOWER on IntegriCloud