diff options
author | Nicholas Wilson <nicholas@nicholaswilson.me.uk> | 2018-02-28 14:03:18 +0000 |
---|---|---|
committer | Nicholas Wilson <nicholas@nicholaswilson.me.uk> | 2018-02-28 14:03:18 +0000 |
commit | 7e4eee98311dcecc782a93265e62934570e096c1 (patch) | |
tree | f48e88ec9ff326093c3e57b94f5d9306d69a7433 | |
parent | 06d4181140515debf5909b4e8027976122811c8a (diff) | |
download | bcm5719-llvm-7e4eee98311dcecc782a93265e62934570e096c1.tar.gz bcm5719-llvm-7e4eee98311dcecc782a93265e62934570e096c1.zip |
[WebAssembly] Fix copy-paste error in debugging string
llvm-svn: 326326
-rw-r--r-- | llvm/lib/Object/WasmObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/WasmObjectFile.cpp b/llvm/lib/Object/WasmObjectFile.cpp index 4ae2d3bcaf6..f32f57b8ba1 100644 --- a/llvm/lib/Object/WasmObjectFile.cpp +++ b/llvm/lib/Object/WasmObjectFile.cpp @@ -455,7 +455,7 @@ Error WasmObjectFile::parseLinkingSectionSymtab(const uint8_t *&Ptr, uint32_t Offset = readVaruint32(Ptr); uint32_t Size = readVaruint32(Ptr); if (Offset + Size > DataSegments[Index].Data.Content.size()) - return make_error<GenericBinaryError>("invalid data symbol index", + return make_error<GenericBinaryError>("invalid data symbol offset", object_error::parse_failed); Info.DataRef = wasm::WasmDataReference{Index, Offset, Size}; } |