[PATCH] D144083: [JITLink] Initial 32-bit ARM backend

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 02:02:58 PST 2023


sgraenitz created this revision.
sgraenitz added reviewers: lhames, rengolin, peter.smith, kristof.beyls.
Herald added a subscriber: hiraditya.
Herald added a project: All.
sgraenitz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Upstreaming a first part of the ARM backend from ez-clang. This is the minimal implementation to link a Thumb `main()` function that calls `printf()` to dump "Hello Arm!" on Armv7a. Tested on Raspberry Pi models 2 and 3 (with 32-bit Raspbian OS).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144083

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/ELF_arm.h
  llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
  llvm/include/llvm/ExecutionEngine/JITLink/arm.h
  llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
  llvm/lib/ExecutionEngine/JITLink/ELF.cpp
  llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
  llvm/lib/ExecutionEngine/JITLink/ELF_arm.cpp
  llvm/lib/ExecutionEngine/JITLink/arm.cpp
  llvm/test/ExecutionEngine/JITLink/arm/ELF_thumbv7_printf.s
  llvm/test/ExecutionEngine/JITLink/arm/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144083.497595.patch
Type: text/x-patch
Size: 26951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230215/848f936d/attachment.bin>


More information about the llvm-commits mailing list