Cosmetic change. NFC.
authorRui Ueyama <ruiu@google.com>
Sun, 13 Mar 2016 06:50:34 +0000 (06:50 +0000)
committerRui Ueyama <ruiu@google.com>
Sun, 13 Mar 2016 06:50:34 +0000 (06:50 +0000)
llvm-svn: 263376

lld/ELF/OutputSections.cpp

index 492f96b..a923608 100644 (file)
@@ -296,7 +296,8 @@ InterpSection<ELFT>::InterpSection()
 }
 
 template <class ELFT> void InterpSection<ELFT>::writeTo(uint8_t *Buf) {
-  memcpy(Buf, Config->DynamicLinker.data(), Config->DynamicLinker.size());
+  StringRef S = Config->DynamicLinker;
+  memcpy(Buf, S.data(), S.size());
 }
 
 template <class ELFT>