[lld] r336686 - Simplify. NFC.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 10 08:15:57 PDT 2018
Author: ruiu
Date: Tue Jul 10 08:15:56 2018
New Revision: 336686
URL: http://llvm.org/viewvc/llvm-project?rev=336686&view=rev
Log:
Simplify. NFC.
Modified:
lld/trunk/ELF/SyntheticSections.cpp
Modified: lld/trunk/ELF/SyntheticSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.cpp?rev=336686&r1=336685&r2=336686&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Tue Jul 10 08:15:56 2018
@@ -2494,7 +2494,7 @@ void GdbIndexSection::writeTo(uint8_t *B
// Write the string pool.
for (GdbSymbol &Sym : Symbols)
- memcpy(Buf + Sym.OutputOff, Sym.Name.val().data(), Sym.Name.size());
+ memcpy(Buf + Sym.OutputOff, Sym.Name.data(), Sym.Name.size());
}
bool GdbIndexSection::empty() const { return !Out::DebugInfo; }
More information about the llvm-commits
mailing list