summaryrefslogtreecommitdiffstats
path: root/test/Driver/miamcu-opt.c
Commit message (Collapse)AuthorAgeFilesLines
* Support setting default value for -rtlib at build timeJonas Hahnfeld2016-07-271-7/+7
| | | | | | | | | | | | | | | | | This patch introduces a new cmake variable: CLANG_DEFAULT_RTLIB, thru which we can specify a default value for -rtlib (libgcc or compiler-rt) at build time, just like how we set the default C++ stdlib thru CLANG_DEFAULT_CXX_STDLIB. With these two options, we can configure clang to build binaries on Linux that have no runtime dependence on any gcc libs (libstdc++ or libgcc_s). Patch by Lei Zhang! Differential Revision: https://reviews.llvm.org/D22663 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276848 91177308-0d34-0410-b5e6-96231b3b80d8
* [X86] Add -mno-iamcu option.Andrey Turetskiy2016-06-201-0/+4
| | | | | | | | | | | Add -mno-iamcu option to: 1) Countervail -miamcu option easily 2) Be compatible with GCC which supports this option Differential Revision: http://reviews.llvm.org/D21469 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273147 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor fixes for miamcpu-opt.c testArtem Belevich2016-06-161-6/+9
| | | | | | | Added -no-canonical-prefixes to make cc1 binary name more predictable. Added appropriate REQUIRES keywords. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272947 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch "Compilation for Intel MCU (Part 2/3)" caused the clang-x64-ninja-win7Andrey Turetskiy2016-06-161-2/+2
| | | | | | | | | buildbot to fail because of inaccurate CHECK in the test. This is a quick fix for the test to make it platform independent. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272887 91177308-0d34-0410-b5e6-96231b3b80d8
* Compilation for Intel MCU (Part 3/3)Andrey Turetskiy2016-06-161-0/+8
| | | | | | | | | | | | | | This is the last patch required to support compilation for Intel MCU target (e.g. Intel(R) Quark(TM) micro controller D 2000). When IAMCU triple is used: * Use IAMCU linker output format * Link with IAMCU crt objects * Link with IAMCU libraries Differential Revision: http://reviews.llvm.org/D20675 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272885 91177308-0d34-0410-b5e6-96231b3b80d8
* Compilation for Intel MCU (Part 2/3)Andrey Turetskiy2016-06-161-0/+3
| | | | | | | | | | | | | This is the second patch required to support compilation for Intel MCU target (e.g. Intel(R) Quark(TM) micro controller D 2000). When IAMCU triple is used: * Recognize and use IAMCU GCC toolchain * Set up include paths * Forbid C++ Differential Revision: http://reviews.llvm.org/D19274 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272883 91177308-0d34-0410-b5e6-96231b3b80d8
* Compilation for Intel MCU (Part 1/3)Andrey Turetskiy2016-04-211-0/+18
| | | | | | | | | | | | Add -miamcu option which: * Sets IAMCU triple * Sets IAMCU ABI * Enforces static compilation Differential Revision: http://reviews.llvm.org/D18398 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266972 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r266747 (Compilation for Intel MCU (Part 1/3)) since it breaks a few ↵Andrey Turetskiy2016-04-191-21/+0
| | | | | | buildbots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266753 91177308-0d34-0410-b5e6-96231b3b80d8
* Compilation for Intel MCU (Part 1/3)Andrey Turetskiy2016-04-191-0/+21
Add -miamcu option which: * Sets IAMCU triple * Sets IAMCU ABI * Enforces static compilation Differential Revision: http://reviews.llvm.org/D18398 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266747 91177308-0d34-0410-b5e6-96231b3b80d8