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
- rL LLVM
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 193799 llvm/trunk/include/llvm/TextAPI/MachO/Architecture.h
llvm/trunk/include/llvm/TextAPI/MachO/ArchitectureSet.h
llvm/trunk/lib/TextAPI/MachO/Architecture.cpp
llvm/trunk/lib/TextAPI/MachO/ArchitectureSet.cpp
llvm/trunk/lib/TextAPI/MachO/TextStubCommon.cpp
llvm/trunk/unittests/TextAPI/TextStubV1Tests.cpp
llvm/trunk/unittests/TextAPI/TextStubV2Tests.cpp
|