summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/coverage_no_integrated_as.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -fprofile-dir= to clang.Nick Lewycky2016-08-311-4/+4
| | | | | | | | | | | | | | | | | | | | | -fprofile-dir=path allows the user to specify where .gcda files should be emitted when the program is run. In particular, this is the first flag that causes the .gcno and .o files to have different paths, LLVM is extended to support this. -fprofile-dir= does not change the file name in the .gcno (and thus where lcov looks for the source) but it does change the name in the .gcda (and thus where the runtime library writes the .gcda file). It's different from a GCOV_PREFIX because a user can observe that the GCOV_PREFIX_STRIP will strip paths off of -fprofile-dir= but not off of a supplied GCOV_PREFIX. To implement this we split -coverage-file into -coverage-data-file and -coverage-notes-file to specify the two different names. The !llvm.gcov metadata node grows from a 2-element form {string coverage-file, node dbg.cu} to 3-elements, {string coverage-notes-file, string coverage-data-file, node dbg.cu}. In the 3-element form, the file name is already "mangled" with .gcno/.gcda suffixes, while the 2-element form left that to the middle end pass. llvm-svn: 280306
* Fix test running under mingw.Yaron Keren2015-07-261-3/+3
| | | | llvm-svn: 243235
* Alright, just XFAIL all these for Windows.Dan Albert2014-10-101-0/+10
| | | | | | | I'm going to fix up FileCheck to better handle things like this soon, but for now let's just unblock the Windows people. llvm-svn: 219513
* XFAIL coverage -no-integrated-as tests for msvc.Dan Albert2014-10-101-0/+13
Windows can't use -no-integrated-as, so split these tests out into a separate file and XFAIL them for win32,win64. llvm-svn: 219472
OpenPOWER on IntegriCloud