[PATCH] D109340: [lld] Add bitcode->e_machine mapping for hexagon
Brian Cain via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 6 17:17:17 PDT 2021
bcain created this revision.
bcain added reviewers: sidneym, MaskRay.
bcain added a project: lld.
Herald added subscribers: arichardson, emaste.
bcain requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109340
Files:
lld/ELF/InputFiles.cpp
Index: lld/ELF/InputFiles.cpp
===================================================================
--- lld/ELF/InputFiles.cpp
+++ lld/ELF/InputFiles.cpp
@@ -1649,6 +1649,8 @@
return t.isOSIAMCU() ? EM_IAMCU : EM_386;
case Triple::x86_64:
return EM_X86_64;
+ case Triple::hexagon:
+ return EM_HEXAGON;
default:
error(path + ": could not infer e_machine from bitcode target triple " +
t.str());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109340.370974.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210907/05d8e5af/attachment.bin>
More information about the llvm-commits
mailing list