summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/coverage-ld.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests with CLANG_DEFAULT_LINKERJonas Hahnfeld2017-01-081-4/+4
| | | | | | | | | I originally requested this to be tested in D25263 but in the end forgot to make sure that it was done. Differential Revision: https://reviews.llvm.org/D28289 llvm-svn: 291389
* Fix coverage-ld.c on systems with an Android linker in $PATHEhsan Akhgari2015-03-251-1/+1
| | | | | | | | | | | | | | | Summary: On my system, clang tries to invoke /path/to/arm-linux-androideabi-ld as the linker for Android, and the regex inside the test file considers this as unacceptable. Reviewers: samsonov Subscribers: tberghammer, aemerson, cfe-commits Differential Revision: http://reviews.llvm.org/D8598 llvm-svn: 233211
* [clang] Use -android environment for all compiler-rt libs.Dan Albert2015-01-281-0/+9
| | | | | | | | | | | | | | | | Summary: This was already done for the sanitizers, but it needs to be done for the profile and builtin libs as well. Reviewers: srhines, timmurray, eugenis, samsonov Reviewed By: samsonov Subscribers: compnerd, cfe-commits Differential Revision: http://reviews.llvm.org/D7187 llvm-svn: 227392
* Revert "Link in profile library on Linux using --whole-archive"Duncan P. N. Exon Smith2014-03-281-5/+2
| | | | | | This reverts commit r205012. llvm-svn: 205022
* Link in profile library on Linux using --whole-archiveAlexey Samsonov2014-03-281-2/+5
| | | | llvm-svn: 205012
* Get rid of obsolete addProfileRT(), generalize the relevant ↵Alexey Samsonov2014-02-201-0/+9
| | | | | | addProfileRTLinux() to all OS llvm-svn: 201789
* clang/test/Driver/coverage-ld.c: Tweak expressions to match dosish pathsep ↵NAKAMURA Takumi2013-06-241-2/+2
| | | | | | on win32 hosts. llvm-svn: 184726
* The profile library must come before the C library so that it can useChandler Carruth2013-06-241-2/+2
| | | | | | atexit. llvm-svn: 184708
* Fix the addition of Clang's profile runtime library to the link stepChandler Carruth2013-06-231-0/+19
when specifying --coverage (or related) flags. The system for doing this was based on the old LLVM-hosted profile_rt library, and hadn't been updated for Linux to use the new compiler-rt library. Also, it couldn't possibly work on multiarch or biarch systems in many cases. The whole thing now works much the same as the sanitizer libraries that are built and used out of the compiler-rt repo. Note that other target OSes haven't been updated because I don't know if they're doing anything special with the installation path of profile_rt. I suspect however that *all* of these are wrong and would encourage maintainers of each target to take a hard look at how compiler-rt runtime libraries are linked on their platforms. llvm-svn: 184666
OpenPOWER on IntegriCloud