This is an archive of the discontinued LLVM Phabricator instance.

[WIP][clang][Fuchsia] Add the *-fuchsia-gnu arch and multilibs
Needs ReviewPublic

Authored by leonardchan on Jan 21 2021, 11:20 AM.

Details

Reviewers
phosek
mcgrathr
Summary

Create libraries that are GCC compatible as part of the Fuchsia toolchain.

Diff Detail

Event Timeline

leonardchan created this revision.Jan 21 2021, 11:20 AM
leonardchan requested review of this revision.Jan 21 2021, 11:20 AM
leonardchan edited the summary of this revision. (Show Details)
phosek added inline comments.Jan 21 2021, 1:51 PM
clang/cmake/caches/Fuchsia-stage2.cmake
148

I'd just iterate over full triples rather than doing the .*_gnu replacement, see above what we do for Linux. The same below.

219–236

I'd break this off into a separate foreach loop and only do it for the non-GNU variant.

clang/test/Driver/fuchsia.cpp
104–119

I don't think we need these multilibs for the GNU variant.