This adds support for the arm64_32 watchOS ABI to LLVM's low level tools, teaching them about the specific MachO choices and constants needed to disassemble things sensibly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D61258
AArch64: support binutils-like things on arm64_32. ClosedPublic Authored by t.p.northover on Apr 29 2019, 6:34 AM.
Details
Summary This adds support for the arm64_32 watchOS ABI to LLVM's low level tools, teaching them about the specific MachO choices and constants needed to disassemble things sensibly.
Diff Detail
Event Timelinet.p.northover added a child revision: D61259: AArch64: support arm64_32, an ILP32 slice for watchOS..Apr 29 2019, 6:37 AM fhahn added inline comments. This revision is now accepted and ready to land.May 13 2019, 3:40 AM
Revision Contents
Diff 198785 llvm/include/llvm/ADT/Triple.h
llvm/include/llvm/BinaryFormat/MachO.h
llvm/lib/Object/MachOObjectFile.cpp
llvm/lib/Support/ARMTargetParser.cpp
llvm/lib/Support/Triple.cpp
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
llvm/test/Object/AArch64/nm-trivial-object-arm64_32.test
llvm/test/tools/llvm-objdump/AArch64/arm64_32.s
llvm/test/tools/llvm-objdump/AArch64/macho-print-thread-arm64_32.test
llvm/tools/llvm-objdump/MachODump.cpp
llvm/unittests/ADT/TripleTest.cpp
llvm/unittests/Support/TargetParserTest.cpp
|
It might be good to add arm64_32 tests to llvm/unittests/Support/TargetParserTest.cpp