[PATCH] D41073: Wasm: add support in libcxx
Nicholas Wilson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 11 10:12:06 PST 2017
ncw created this revision.
Herald added subscribers: cfe-commits, aheejin, jfb.
Herald added a reviewer: EricWF.
It turns out that this is the only change required in libcxx for it to compile with the new `wasm32-unknown-unknown-wasm` target recently added to Clang.
I haven't done much testing of whether libc++ //works// with Wasm, but committing the compile fix is at least a start.
Adding Marshall Clow and Dan Gohman as reviewers since they landed the last Emscripten-related changes in libcxx.
@@ -45,6 +45,8 @@
#define _LIBCPP_OBJECT_FORMAT_MACHO 1
#define _LIBCPP_OBJECT_FORMAT_COFF 1
+#define _LIBCPP_OBJECT_FORMAT_WASM 1
#error Unknown object file format
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 367 bytes
Desc: not available
More information about the cfe-commits