[PATCH] D60241: [TextAPI] Prefix all architecture enums to fix the build on i386.
Juergen Ributzka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 3 17:25:03 PDT 2019
ributzka created this revision.
ributzka added reviewers: steven_wu, lhames, mstorsjo.
Herald added subscribers: llvm-commits, dexonsmith, jkorous, hiraditya.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D60241
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60241.193632.patch
Type: text/x-patch
Size: 10586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190404/db70ceb8/attachment.bin>
More information about the llvm-commits
mailing list