[PATCH] D46765: [WebAssembly] Fix R_WEBASSEMBLY_FUNCTION_OFFSET_I32 relocation entries

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 11:11:58 PDT 2018


sbc100 accepted this revision.
sbc100 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: wasm/InputFiles.cpp:48
-  unsigned Count;
-  llvm::decodeULEB128(FunctionBody.data(), &Count);
-  return Count;
----------------
Where is the actual bug? This code looks like its doing the right thing, no?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46765





More information about the llvm-commits mailing list