diff options
Diffstat (limited to 'lld/wasm/InputChunks.cpp')
| -rw-r--r-- | lld/wasm/InputChunks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/InputChunks.cpp b/lld/wasm/InputChunks.cpp index 5f04eccc835..e87c97b47e9 100644 --- a/lld/wasm/InputChunks.cpp +++ b/lld/wasm/InputChunks.cpp @@ -86,7 +86,7 @@ static void applyRelocations(uint8_t *Buf, ArrayRef<OutputRelocation> Relocs) { } void InputChunk::writeTo(uint8_t *SectionStart) const { - memcpy(SectionStart + getOutputOffset(), getData(), getSize()); + memcpy(SectionStart + getOutputOffset(), data().data(), data().size()); applyRelocations(SectionStart, OutRelocations); } |

