Skip to content

Commit 2611592

Browse files
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
1 parent bb7bd3e commit 2611592

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Support/Triple.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,12 +649,10 @@ static Triple::ObjectFormatType getDefaultFormat(const Triple &T) {
649649
case Triple::tce:
650650
case Triple::tcele:
651651
case Triple::thumbeb:
652-
case Triple::xcore:
653-
return Triple::ELF;
654-
655652
case Triple::wasm32:
656653
case Triple::wasm64:
657-
return Triple::Wasm;
654+
case Triple::xcore:
655+
return Triple::ELF;
658656

659657
case Triple::ppc:
660658
case Triple::ppc64:

0 commit comments

Comments
 (0)