[AVR] Add -mmcu option to the driver
authorLeslie Zhai <lesliezhai@llvm.org.cn>
Thu, 20 Apr 2017 04:23:24 +0000 (04:23 +0000)
committerLeslie Zhai <lesliezhai@llvm.org.cn>
Thu, 20 Apr 2017 04:23:24 +0000 (04:23 +0000)
commitff04109ca2ff9c61537676fd8c28fd5a1078d0f5
treef73d535a7877eb2602521923495100b5755cb070
parent70a3eb60ed2e82e91b53cb7e72e8487c7850ed8c
[AVR] Add -mmcu option to the driver

A patch by Peter Wu!

Reviewers: jroelofs, xiangzhai

Reviewed By: jroelofs, dylanmckay, xiangzhai

Subscribers: dlj, dylanmckay, cfe-commits

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

llvm-svn: 300818
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/avr-mmcu.c [new file with mode: 0644]