This changes the Architecture enum to use a prefix (AK_) to prevent the preprocessor from replacing i386 with 1 when building llvm/clang for i386.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D60241
[TextAPI] Prefix all architecture enums to fix the build on i386. ClosedPublic Authored by ributzka on Apr 3 2019, 5:24 PM.
Details Summary This changes the Architecture enum to use a prefix (AK_) to prevent the preprocessor from replacing i386 with 1 when building llvm/clang for i386.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 3 2019, 11:14 PM Closed by commit rL357733: [TextAPI] Prefix all architecture enums to fix the build on i386. (authored by ributzka). · Explain WhyApr 4 2019, 3:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 193632 llvm/include/llvm/TextAPI/MachO/Architecture.h
llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h
llvm/lib/TextAPI/MachO/Architecture.cpp
llvm/lib/TextAPI/MachO/ArchitectureSet.cpp
llvm/lib/TextAPI/MachO/TextStubCommon.cpp
llvm/unittests/TextAPI/TextStubV1Tests.cpp
llvm/unittests/TextAPI/TextStubV2Tests.cpp
|