[all-commits] [llvm/llvm-project] bde2e6: [llvm] Use XMACROS for MachO platforms. (#69262)
Juergen Ributzka via All-commits
all-commits at lists.llvm.org
Fri Oct 20 09:37:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bde2e6981e7848658e91c7282abf387643054b6a
https://github.com/llvm/llvm-project/commit/bde2e6981e7848658e91c7282abf387643054b6a
Author: Juergen Ributzka <juergen at ributzka.de>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M clang/lib/CodeGen/CGObjC.cpp
M llvm/include/llvm/BinaryFormat/MachO.def
M llvm/include/llvm/BinaryFormat/MachO.h
M llvm/include/llvm/Object/MachO.h
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCParser/DarwinAsmParser.cpp
M llvm/lib/TextAPI/Platform.cpp
M llvm/lib/TextAPI/Target.cpp
M llvm/lib/TextAPI/TextStub.cpp
Log Message:
-----------
[llvm] Use XMACROS for MachO platforms. (#69262)
This change adds the PLATFORM XMACRO to simplify the addition of new MachO
platforms and reduce the number of required changes. Many of the changes needed
for adding a new platform are mechanical, such as adding new cases to a switch
statement. This will help streamline the process by consolidating much of the
necessary information into the MachO.def file.
More information about the All-commits
mailing list