llvm-project/compiler-rt/test/profile
Matt Davis 60a8816c2f [compiler-rt][test] Make instrprof-set-dir-mode test tolerant of group ID
Patch from 'troyj':
Hi, I ran into a problem with this test when the source was located in
certain directories. The mkdir(2) man page states that the set-group-ID
bit is inherited from the parent directory, but this test was written in
such a way that it assumes the bit is unset. Whether that assumption is
true depends on where the checkout lives, which leads to some people
being able to reproduce the problem whereas others cannot. I think the
correct fix is to exclude the bit from the check.

Making probinson a reviewer since they reviewed the original test.

Patch landed for troyj, thanks!

Differential Revision: D53832

llvm-svn: 357449
2019-04-02 03:24:12 +00:00
..
Inputs Reland compiler-rt support for order file instrumentation. 2019-03-08 15:30:56 +00:00
Linux Set hidden attribute on lprofMergeValueProfData 2019-02-14 21:38:40 +00:00
Posix [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
CMakeLists.txt [sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests 2016-11-29 19:25:53 +00:00
coverage-inline.cpp [InstrProf] Use separate comdat group for data and counters 2019-02-27 23:38:44 +00:00
gcc-flag-compatibility.test [Profile] More test clean up to read profile from directory specified by -fprofile-generate= 2016-07-21 02:14:55 +00:00
infinite_loop.c [PGO] Test case changes for D41059 2017-12-18 17:56:42 +00:00
instrprof-basic.c [Profile] Add new test 2016-07-22 23:38:58 +00:00
instrprof-bufferio.c [profile] Eliminate dynamic memory allocation for buffered writer 2016-05-13 18:26:26 +00:00
instrprof-darwin-dead-strip.c [profile] Test the exported symbol set for empty programs 2018-02-28 19:00:16 +00:00
instrprof-darwin-exports.c [gcov/Darwin] Ensure external symbols are exported when using an export list 2018-12-03 20:53:58 +00:00
instrprof-dump.c [Profile] Implement new API __llvm_profile_dump 2016-08-09 04:21:14 +00:00
instrprof-error.c [profile] PROF_ERR, PROF_WARN 2016-05-20 05:15:42 +00:00
instrprof-gcov-__gcov_flush-multiple.test [GCOV] Close file mapping handle on Windows, so flushed gcda files can be removed while the process is in execution 2018-11-07 09:38:26 +00:00
instrprof-gcov-__gcov_flush-terminate.test Add a test with __gcov_flush called before terminating the program. 2018-07-16 09:13:46 +00:00
instrprof-gcov-exceptions.test [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-multiple-bbs-single-line.test [profile] Fix tests in compiler-rt for patch in gcov (https://reviews.llvm.org/D49659) 2018-09-20 16:21:09 +00:00
instrprof-gcov-one-line-function.test [GCOV] Add a test for function defined on one line (follow-up of https://reviews.llvm.org/D53600) 2018-10-30 18:41:41 +00:00
instrprof-gcov-switch.test [gcov] Add tests using switch, one with break clauses and one with fallthrough 2018-07-31 23:26:50 +00:00
instrprof-gcov-two-objects.test [Profile] Fix gcov tests 2018-09-25 11:12:15 +00:00
instrprof-get-filename.c [profile] Add interface to get profile filename 2018-07-19 19:03:50 +00:00
instrprof-hostname.c fix a test bug when executed remotedly 2016-06-24 17:42:51 +00:00
instrprof-icall-promo.test [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-merge-match.test [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-merge.c [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-merging.cpp [llvm-cov] Fix llvm-cov on Windows and un-XFAIL test 2019-02-26 02:30:00 +00:00
instrprof-order-file.test Reland compiler-rt support for order file instrumentation. 2019-03-08 15:30:56 +00:00
instrprof-override-filename-then-reset-default.c [Profile] deprecate __llvm_profile_override_default_filename (part2) 2016-07-21 23:19:18 +00:00
instrprof-override-filename-with-env.c [Profile] deprecate __llvm_profile_override_default_filename (part2) 2016-07-21 23:19:18 +00:00
instrprof-override-filename.c [profile] Move __llvm_profile_filename into a separate object 2017-06-29 17:42:24 +00:00
instrprof-path.c [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-reset-counters.c Add space inside the regular expression. 2018-02-08 02:29:56 +00:00
instrprof-set-dir-mode.c [compiler-rt][test] Make instrprof-set-dir-mode test tolerant of group ID 2019-04-02 03:24:12 +00:00
instrprof-set-filename-then-reset-default.c
instrprof-set-filename.c [libprofile] Define an expansion `%clang_profgen=` 2016-06-12 04:17:57 +00:00
instrprof-value-prof-2.c
instrprof-value-prof-evict.test [Profile] Test cleanup -- use new lit var for IR PGO tests /NFC 2016-07-19 22:12:00 +00:00
instrprof-value-prof-reset.c [Profile] Fix value profiler eviction bug 2016-11-29 22:00:54 +00:00
instrprof-value-prof.c [profile] Static counter allocation for value profiling (part-2) 2016-05-21 22:55:45 +00:00
instrprof-value-prof.test [Profile] Test cleanup -- use new lit var for IR PGO tests /NFC 2016-07-19 22:12:00 +00:00
instrprof-version-mismatch.c [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-without-libc.c [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-write-file-atexit-explicitly.c
instrprof-write-file-only.c
instrprof-write-file.c
lit.cfg [InstrProf] Implement static profdata registration 2019-02-08 19:03:50 +00:00
lit.site.cfg.in
runtime_infinite.c [PGO] Test case changes for D41059 2017-12-18 17:56:42 +00:00