From: Rui Ueyama Date: Tue, 10 Jul 2018 15:15:56 +0000 (+0000) Subject: Simplify. NFC. X-Git-Tag: llvmorg-7.0.0-rc1~1828 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bee192f6b08f3254773fb8a9f2064043db87fa33;p=platform%2Fupstream%2Fllvm.git Simplify. NFC. llvm-svn: 336686 --- diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index 7bc7a65..a0b2d54 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -2494,7 +2494,7 @@ void GdbIndexSection::writeTo(uint8_t *Buf) { // 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; }