[PATCH] D25590: Add initial support for WebAssembly binary format

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 31 15:02:38 PDT 2016


sbc100 added inline comments.


================
Comment at: tools/yaml2obj/yaml2wasm.cpp:43
+
+static int writeUint64(raw_ostream &OS, uint64_t Value) {
+  char Data[sizeof(Value)];
----------------
Bigcheese wrote:
> dschuff wrote:
> > could writeUint{32,64} be a template?
> Support/Endian.h has write64le.
Switched to write64le / write32le


https://reviews.llvm.org/D25590





More information about the llvm-commits mailing list