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

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 15:12:20 PST 2016


sunfish added inline comments.


================
Comment at: lib/Object/WasmObjectFile.cpp:92
+      return make_error<GenericBinaryError>("Invalid opcode in init_expr",
+          object_error::invalid_file_type);
+  }
----------------
Here and at similar places elsewhere in this patch, object_error::parse_error would be more descriptive than object::invalid_file_type.


https://reviews.llvm.org/D25590





More information about the llvm-commits mailing list