projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b292b4
)
Simplify. NFC.
author
Rui Ueyama
<ruiu@google.com>
Tue, 10 Jul 2018 15:15:56 +0000
(15:15 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Tue, 10 Jul 2018 15:15:56 +0000
(15:15 +0000)
llvm-svn: 336686
lld/ELF/SyntheticSections.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/SyntheticSections.cpp
b/lld/ELF/SyntheticSections.cpp
index
7bc7a65
..
a0b2d54
100644
(file)
--- 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; }