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
This commit is contained in:
Jacob Gravelle 2017-06-02 01:26:17 +00:00
parent bb7bd3eefe
commit 26115924a2
1 changed files with 2 additions and 4 deletions

View File

@ -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: