Skip to content

Commit

Permalink
Allow LLD to process bitcode for SBF
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Nov 19, 2024
1 parent 646ec14 commit aa5c86a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lld/ELF/InputFiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,8 @@ static uint16_t getBitcodeMachineKind(StringRef path, const Triple &t) {
return t.isOSIAMCU() ? EM_IAMCU : EM_386;
case Triple::x86_64:
return EM_X86_64;
case Triple::sbf:
return EM_SBF;
default:
error(path + ": could not infer e_machine from bitcode target triple " +
t.str());
Expand Down

0 comments on commit aa5c86a

Please sign in to comment.