[PATCH] D33811: Revert r304117 - WebAssembly object format isn't ready to be the default

Jacob Gravelle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 17:04:42 PDT 2017


jgravelle-google created this revision.
Herald added subscribers: dschuff, jfb.

Wasm object format has some functionality regressions from the ELF format, and doesn't play nicely with the rest of the toolchain. It should eventually be the default, but not yet.


https://reviews.llvm.org/D33811

Files:
  lib/Support/Triple.cpp


Index: lib/Support/Triple.cpp
===================================================================
--- lib/Support/Triple.cpp
+++ lib/Support/Triple.cpp
@@ -649,12 +649,10 @@
   case Triple::tce:
   case Triple::tcele:
   case Triple::thumbeb:
-  case Triple::xcore:
-    return Triple::ELF;
-
   case Triple::wasm32:
   case Triple::wasm64:
-    return Triple::Wasm;
+  case Triple::xcore:
+    return Triple::ELF;
 
   case Triple::ppc:
   case Triple::ppc64:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33811.101139.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170602/3bacc682/attachment.bin>


More information about the llvm-commits mailing list