From 26115924a2146bc4888e42d600c139df8b1b9b90 Mon Sep 17 00:00:00 2001 From: Jacob Gravelle Date: Fri, 2 Jun 2017 01:26:17 +0000 Subject: [PATCH] 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 llvm-svn: 304512 --- llvm/lib/Support/Triple.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 318e21da999d..f7b7ad89e959 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -649,12 +649,10 @@ static Triple::ObjectFormatType getDefaultFormat(const Triple &T) { 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: