Skip to content

Commit

Permalink
use the 'Wasm' object format in the triple for genericjs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri91 committed Jul 1, 2024
1 parent eaf9a58 commit 422002a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Support/Triple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ static Triple::ObjectFormatType parseFormat(StringRef EnvironmentName) {
.EndsWith("goff", Triple::GOFF)
.EndsWith("macho", Triple::MachO)
.EndsWith("wasm", Triple::Wasm)
.EndsWith("genericjs", Triple::Wasm)
.EndsWith("spirv", Triple::SPIRV)
.Default(Triple::UnknownObjectFormat);
}
Expand Down

0 comments on commit 422002a

Please sign in to comment.