[llvm] r304512 - Revert r304117 - WebAssembly object format isn't ready to be the default

Jacob Gravelle via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 18:26:17 PDT 2017


Author: jgravelle
Date: Thu Jun  1 20:26:17 2017
New Revision: 304512

URL: http://llvm.org/viewvc/llvm-project?rev=304512&view=rev
Log:
Revert r304117 - WebAssembly object format isn't ready to be the default

Summary: 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.

Reviewers: sunfish, sbc100

Subscribers: jfb, dschuff, llvm-commits

Differential Revision: https://reviews.llvm.org/D33811

Modified:
    llvm/trunk/lib/Support/Triple.cpp

Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=304512&r1=304511&r2=304512&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Thu Jun  1 20:26:17 2017
@@ -649,12 +649,10 @@ static Triple::ObjectFormatType getDefau
   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:




More information about the llvm-commits mailing list