summaryrefslogtreecommitdiff
path: root/test/Driver/cl-runtime-flags.c
Commit message (Collapse)AuthorAge
* clang-cl: Don't warn about overriding /MD with /MT, /Fo with another /Fo, etc.Hans Wennborg2013-09-18
| | | | | | | | | | | | | | | | I put in the warnings because MSVC has them, but I don't think they're very useful. Clang does not warn about overriding flags in general, e.g. it's perfectly fine to have -fomit-frame-pointer followed by -fno-omit-frame-pointer. We should focus on warning where things get confusing, such as with the /TP and /TC options. In "clang-cl /TC a.c /TP b.cc", the user might not realize that the /TP flag will apply to both files, and we warn about that. Differential Revision: http://llvm-reviews.chandlerc.com/D1718 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190964 91177308-0d34-0410-b5e6-96231b3b80d8
* clang-cl: Warn about overriding /MD with /MT etc.Hans Wennborg2013-09-11
| | | | | | | This also bakes the /M options into a separate option group to make them easier to refer to from the code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190529 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove Windows line-endings in two clang-cl test files.Hans Wennborg2013-09-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190432 91177308-0d34-0410-b5e6-96231b3b80d8
* clang-cl: Support building DLLs (PR17083)Hans Wennborg2013-09-10
| | | | | | | | This adds driver support for building DLLs (the /LD and /LDd flags). It basically does two things: runtime selection and passing -dll and -implib to the linker. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190428 91177308-0d34-0410-b5e6-96231b3b80d8
* clang-cl: Support the run-time selection options (/MD, /MT et al.)Hans Wennborg2013-08-08
These flags set some preprocessor macros and injects a dependency on the runtime library into the object file, which later is picked up by the linker. This also adds a new CC1 flag for adding a dependent library. Differential Revision: http://llvm-reviews.chandlerc.com/D1315 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187945 91177308-0d34-0410-b5e6-96231b3b80d8