Simplify. NFC.

llvm-svn: 336686
This commit is contained in:
Rui Ueyama 2018-07-10 15:15:56 +00:00
parent 9b292b4585
commit bee192f6b0
1 changed files with 1 additions and 1 deletions

View File

@ -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; }