]> granicus.if.org Git - clang/commit
[MSP430] Provide a toolchain description
authorAnton Korobeynikov <anton@korobeynikov.info>
Tue, 15 Jan 2019 19:44:05 +0000 (19:44 +0000)
committerAnton Korobeynikov <anton@korobeynikov.info>
Tue, 15 Jan 2019 19:44:05 +0000 (19:44 +0000)
commit24cbd12df6054059a515b917e68e890603fecc3e
tree47e140d5318d6c3216bd4ab27faeead08f0337b8
parent0fafc3882334b5e55897aecb828afecb852256af
[MSP430] Provide a toolchain description

This is an initial implementation for msp430 toolchain including
-mmcu option support
-mhwmult options support
-integrated-as by default

The toolchain uses msp430-elf-as as a linker and supports msp430-gcc toolchain tree.

Patch by Kristina Bessonova!

Differential Revision: https://reviews.llvm.org/D56658

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351228 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Basic/MSP430Target.def [new file with mode: 0644]
include/clang/Driver/Options.td
include/clang/module.modulemap
lib/CodeGen/CodeGenModule.cpp
lib/Driver/CMakeLists.txt
lib/Driver/Driver.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Driver/ToolChains/Gnu.cpp
lib/Driver/ToolChains/MSP430.cpp [new file with mode: 0644]
lib/Driver/ToolChains/MSP430.h [new file with mode: 0644]
test/Driver/Inputs/basic_msp430_tree/bin/msp430-elf-ld [new file with mode: 0755]
test/Driver/Inputs/basic_msp430_tree/lib/gcc/msp430-elf/7.3.1/430/crtbegin.o [new file with mode: 0644]
test/Driver/Inputs/basic_msp430_tree/lib/gcc/msp430-elf/7.3.1/430/crtend.o [new file with mode: 0644]
test/Driver/Inputs/basic_msp430_tree/msp430-elf/lib/430/crt0.o [new file with mode: 0644]
test/Driver/Inputs/basic_msp430_tree/msp430-elf/lib/430/crtn.o [new file with mode: 0644]
test/Driver/msp430-hwmult.c [new file with mode: 0644]
test/Driver/msp430-mmcu.c [new file with mode: 0644]
test/Driver/msp430-toolchain.c [new file with mode: 0644]
test/Driver/no-integrated-as.c