llvm-project/compiler-rt/test/profile/Inputs
Vedant Kumar 937241b0d9 [profile] Do not cache __llvm_profile_get_filename result
When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.

It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all. David Li pointed
out we can go further and just hide lprofCurFilename. This may regress
workflows that depend on using the set-filename API to change filenames
across all loaded DSOs, but this is expected to be very rare.

rdar://55137071

Differential Revision: https://reviews.llvm.org/D69137

llvm-svn: 375301
2019-10-18 23:33:40 +00:00
..
comdat_rename.h Try to fix another profile test 2016-09-01 14:44:02 +00:00
comdat_rename_1.cpp compiler-rt: Rename remaining cc files in test/profile to cpp 2019-08-05 13:42:31 +00:00
comdat_rename_2.cpp compiler-rt: Rename remaining cc files in test/profile to cpp 2019-08-05 13:42:31 +00:00
extern_template.cpp
extern_template.h [profile] Update Linux-only tests after r313597 2017-09-19 00:15:18 +00:00
extern_template1.cpp
extern_template2.cpp
gcc-flag-compatibility.c
instrprof-alloc.c
instrprof-comdat-1.cpp
instrprof-comdat-2.cpp
instrprof-comdat.h [test] Update coverage tests to sync up with r278152 2016-08-09 21:04:22 +00:00
instrprof-dlopen-dlclose-main.c Reapply "Make __gcov_flush flush counters for all shared libraries" 2018-07-10 14:12:03 +00:00
instrprof-dlopen-dlclose-main.c.gcov [profile] Fix the gcov tests after the patch in D49853 landed. 2018-10-11 08:53:55 +00:00
instrprof-dlopen-dlclose-main_three-libs.c.gcov [profile] Fix the gcov tests after the patch in D49853 landed. 2018-10-11 08:53:55 +00:00
instrprof-dlopen-func.c Simplify instrprof-dlopen-dlclose-gcov.test to avoid failures on Aarch64. 2018-07-12 20:28:09 +00:00
instrprof-dlopen-func.c.gcov [profile] Revert commit https://reviews.llvm.org/rL342718 2018-09-24 18:24:29 +00:00
instrprof-dlopen-func2.c Simplify instrprof-dlopen-dlclose-gcov.test to avoid failures on Aarch64. 2018-07-12 20:28:09 +00:00
instrprof-dlopen-func2.c.gcov [profile] Revert commit https://reviews.llvm.org/rL342718 2018-09-24 18:24:29 +00:00
instrprof-dlopen-func3.c Simplify instrprof-dlopen-dlclose-gcov.test to avoid failures on Aarch64. 2018-07-12 20:28:09 +00:00
instrprof-dlopen-func3.c.gcov [profile] Revert commit https://reviews.llvm.org/rL342718 2018-09-24 18:24:29 +00:00
instrprof-dlopen-main.c
instrprof-dynamic-a.cpp [test] Update coverage tests to sync up with r278152 2016-08-09 21:04:22 +00:00
instrprof-dynamic-b.cpp
instrprof-dynamic-header.h
instrprof-dynamic-main.cpp
instrprof-file_ex.c [profile] Fix test to bail on failed waitpid in instrprof-file_ex.c 2016-06-09 15:29:59 +00:00
instrprof-gcov-__gcov_flush-multiple.c [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-multiple.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-__gcov_flush-terminate.c Add a test with __gcov_flush called before terminating the program. 2018-07-16 09:13:46 +00:00
instrprof-gcov-__gcov_flush-terminate.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-exceptions.cpp [gcov] Add a test showing differences in line counts when building with or without exceptions enabled. 2018-07-16 14:40:33 +00:00
instrprof-gcov-exceptions.cpp.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-execlp.c [Profile] Fix fork test and add tests for execlp and execvp after patch https://reviews.llvm.org/D53593 2018-11-07 13:51:17 +00:00
instrprof-gcov-execlp.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-execvp.c [Profile] Fix fork test and add tests for execlp and execvp after patch https://reviews.llvm.org/D53593 2018-11-07 13:51:17 +00:00
instrprof-gcov-execvp.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-fork.c [gcov] Add test which uses fork 2018-08-01 09:11:36 +00:00
instrprof-gcov-fork.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-multiple-bbs-single-line.c Add a test with multiple BBs on the same line 2018-07-13 13:01:43 +00:00
instrprof-gcov-multiple-bbs-single-line.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-one-line-function.c [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-one-line-function.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-switch1.c [gcov] Add tests using switch, one with break clauses and one with fallthrough 2018-07-31 23:26:50 +00:00
instrprof-gcov-switch1.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-gcov-switch2.c [gcov] Add tests using switch, one with break clauses and one with fallthrough 2018-07-31 23:26:50 +00:00
instrprof-gcov-switch2.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-get-filename-dso.c [profile] Do not cache __llvm_profile_get_filename result 2019-10-18 23:33:40 +00:00
instrprof-icall-promo.h [profile] Add end-end test of vp for inline virtual functions 2016-06-02 16:24:21 +00:00
instrprof-icall-promo_1.cpp compiler-rt: Rename remaining cc files in test/profile to cpp 2019-08-05 13:42:31 +00:00
instrprof-icall-promo_2.cpp compiler-rt: Rename remaining cc files in test/profile to cpp 2019-08-05 13:42:31 +00:00
instrprof-merge-match-lib.c
instrprof-merge-match.c [profile][test] Fix Profile-* :: instrprof-merge.c etc. on SPARC 2019-07-11 18:26:24 +00:00
instrprof-order-file-2.c Reland compiler-rt support for order file instrumentation. 2019-03-08 15:30:56 +00:00
instrprof-order-file.c Reland compiler-rt support for order file instrumentation. 2019-03-08 15:30:56 +00:00
instrprof-shared-lib.c
instrprof-shared-lib.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-shared-lib_called-twice.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-shared-lib_in-loop.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-shared-main-gcov-flush.c Reapply "Make __gcov_flush flush counters for all shared libraries" 2018-07-10 14:12:03 +00:00
instrprof-shared-main-gcov-flush_no-writeout.c.gcov Prospective test fix in response to r358104. 2019-04-11 03:04:04 +00:00
instrprof-shared-main-gcov-flush_shared-call-after.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-shared-main-gcov-flush_shared-call-before-after.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-shared-main-gcov-flush_shared-call-before.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-shared-main.c
instrprof-shared-main.c.gcov [InstrProf] Port test suite to Windows 2019-02-07 17:52:05 +00:00
instrprof-value-prof-evict.c
instrprof-value-prof-real.c
instrprof-value-prof-visibility.c Set hidden attribute on lprofMergeValueProfData 2019-02-14 21:38:40 +00:00