[all-commits] [llvm/llvm-project] 97e496: [Clang][CSKY] Add the CSKY target and compiler driver
Zi Xuan Wu (Zeson) via All-commits
all-commits at lists.llvm.org
Tue Apr 5 20:38:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97e496054a378131227262109c856f89b288c309
https://github.com/llvm/llvm-project/commit/97e496054a378131227262109c856f89b288c309
Author: Zi Xuan Wu <zixuan.wu at linux.alibaba.com>
Date: 2022-04-06 (Wed, 06 Apr 2022)
Changed paths:
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/Targets.cpp
A clang/lib/Basic/Targets/CSKY.cpp
A clang/lib/Basic/Targets/CSKY.h
M clang/lib/Driver/CMakeLists.txt
M clang/lib/Driver/Driver.cpp
A clang/lib/Driver/ToolChains/Arch/CSKY.cpp
A clang/lib/Driver/ToolChains/Arch/CSKY.h
A clang/lib/Driver/ToolChains/CSKYToolChain.cpp
A clang/lib/Driver/ToolChains/CSKYToolChain.h
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/csky-linux-gnuabiv2/bin/ld
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/csky-linux-gnuabiv2/libc/ck860v/lib/.keep
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/csky-linux-gnuabiv2/libc/ck860v/usr/lib/crt1.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/csky-linux-gnuabiv2/libc/lib/.keep
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/csky-linux-gnuabiv2/libc/usr/lib/crt1.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/ck860v/crtbegin.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/ck860v/crtend.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/ck860v/crti.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/ck860v/crtn.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/crtbegin.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/crtend.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/crti.o
A clang/test/Driver/Inputs/multilib_csky_linux_sdk/lib/gcc/csky-linux-gnuabiv2/6.3.0/crtn.o
A clang/test/Driver/csky-arch-error.c
A clang/test/Driver/csky-arch.c
A clang/test/Driver/csky-cpus-error.c
A clang/test/Driver/csky-cpus.c
A clang/test/Driver/csky-toolchain.c
A clang/test/Preprocessor/csky-target-features.c
A clang/test/Preprocessor/init-csky.c
M llvm/lib/Support/CSKYTargetParser.cpp
M llvm/unittests/Support/CSKYTargetParserTest.cpp
Log Message:
-----------
[Clang][CSKY] Add the CSKY target and compiler driver
Add CSKY target toolchains to support csky in linux and elf environment.
It can leverage the basic universal Linux toolchain for linux environment, and only add some compile or link parameters.
For elf environment, add a CSKYToolChain to support compile and link.
Also add some parameters into basic codebase of clang driver.
Differential Revision: https://reviews.llvm.org/D121445
More information about the All-commits
mailing list