[PATCH] D61040: [Fuchsia] Support multilib for -fsanitize=address and -fno-exceptions
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 23 14:56:10 PDT 2019
phosek created this revision.
phosek added reviewers: beanz, jroelofs, mcgrathr.
Herald added subscribers: cfe-commits, javed.absar.
Herald added a project: clang.
This introduces a support for multilibs to Fuchsia driver. Unlike the
existing multilibs that are used primarily for handling different
architecture variants, we use multilibs to handle different variants
of Clang runtime libraries: -fsanitize=address and -fno-exceptions
are the two we support initially. This replaces the existing support
for sanitized runtimes libraries that was only used by Fuchsia driver
and it also refactors some of the logic to allow sharing between GNU
and Fuchsia drivers.
Repository:
rC Clang
https://reviews.llvm.org/D61040
Files:
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/CommonArgs.h
clang/lib/Driver/ToolChains/Fuchsia.cpp
clang/lib/Driver/ToolChains/Gnu.cpp
clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/aarch64-fuchsia/lib/noexcept/.keep
clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/x86_64-fuchsia/lib/noexcept/.keep
clang/test/Driver/fuchsia.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61040.196335.patch
Type: text/x-patch
Size: 8173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190423/217e8105/attachment.bin>
More information about the cfe-commits
mailing list