[PATCH] D142986: Enable multilib.yaml in the BareMetal ToolChain
Michael Platings via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 31 07:59:12 PST 2023
michaelplatings created this revision.
michaelplatings added a reviewer: phosek.
Herald added subscribers: abidh, kristof.beyls.
Herald added a project: All.
michaelplatings requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
The default location for multilib.yaml is lib/clang-runtimes, without
any target-specific suffix. This will allow multilibs for different
architectures to share a common include directory.
To avoid breaking the arm-execute-only.c CHECK-NO-EXECUTE-ONLY-ASM
test, add a GetExecuteOnly argument to getARMTargetFeatures.
Since the presence of multilib.yaml can change the exact location of a
library, relax the baremetal.cpp test.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142986
Files:
clang/lib/Driver/ToolChain.cpp
clang/lib/Driver/ToolChains/Arch/ARM.cpp
clang/lib/Driver/ToolChains/Arch/ARM.h
clang/lib/Driver/ToolChains/BareMetal.cpp
clang/test/Driver/Inputs/baremetal_multilib/multilib.yaml
clang/test/Driver/baremetal-multilib.cpp
clang/test/Driver/baremetal.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142986.493621.patch
Type: text/x-patch
Size: 14620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230131/936864e9/attachment-0001.bin>
More information about the cfe-commits
mailing list