llvm-project/compiler-rt/test/profile
Vedant Kumar 6ff82bd0ec [profile] Mark lprofCurFilename as COMPILER_RT_WEAK
This makes __llvm_profile_set_filename() work across dylib boundaries on
Darwin.

This functionality was originally meant to work on all platforms, but
was moved to a Linux-only directory with r272404. The root cause of the
test failure on Darwin was that lprofCurFilename was not marked weak.
Each dylib maintained its own copy of the variable due to the two-level
namespace.

Tested with check-profile (on Darwin). I don't expect this to regress
other platforms.

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

llvm-svn: 284440
2016-10-18 00:02:28 +00:00
..
Inputs Try to fix another profile test 2016-09-01 14:44:02 +00:00
Linux [profile] Mark lprofCurFilename as COMPILER_RT_WEAK 2016-10-18 00:02:28 +00:00
CMakeLists.txt [compiler-rt] Fix VisualStudio virtual folders layout 2016-07-11 21:51:56 +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
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] Add test for dead_strip+live_support functionality 2016-10-11 21:48:48 +00:00
instrprof-dlopen.test Run profile tests on FreeBSD 2014-10-07 19:24:24 +00:00
instrprof-dump.c [Profile] Implement new API __llvm_profile_dump 2016-08-09 04:21:14 +00:00
instrprof-dynamic-one-shared.test InstrProf: Create a PIC version of the profile runtime 2014-05-16 04:07:09 +00:00
instrprof-dynamic-two-shared.test InstrProf: Create a PIC version of the profile runtime 2014-05-16 04:07:09 +00:00
instrprof-error.c [profile] PROF_ERR, PROF_WARN 2016-05-20 05:15:42 +00:00
instrprof-hostname.c fix a test bug when executed remotedly 2016-06-24 17:42:51 +00:00
instrprof-icall-promo.test [Profile] Test cleanup -- use new lit var for IR PGO tests /NFC 2016-07-19 22:12:00 +00:00
instrprof-merge-match.test [PGO] Add API to check compatibility of profile data in buffer 2016-03-04 18:58:30 +00:00
instrprof-merge.c [PGO] Add API for profile merge from buffer 2016-03-03 18:54:46 +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] deprecate __llvm_profile_override_default_filename (part2) 2016-07-21 23:19:18 +00:00
instrprof-path.c [Profile] implement interface to get profile path prefix 2016-07-20 04:26:09 +00:00
instrprof-reset-counters.c Update lib/profile tests for metadata assembly change 2014-12-15 21:34:19 +00:00
instrprof-set-filename-shared.test [profile] Mark lprofCurFilename as COMPILER_RT_WEAK 2016-10-18 00:02:28 +00:00
instrprof-set-filename-then-reset-default.c profile: Use unique directory for tests that write default profile file 2015-04-29 21:56:35 +00:00
instrprof-set-filename.c [libprofile] Define an expansion `%clang_profgen=` 2016-06-12 04:17:57 +00:00
instrprof-shared.test Fix comment of test 2016-01-12 03:57:14 +00:00
instrprof-value-prof-2.c [PGO] Fix the buildbots for r266229. 2016-04-13 20:02:07 +00:00
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-shared.test Fix buildbot failure 2016-07-23 03:34:30 +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 [profile] PROF_ERR, PROF_WARN 2016-05-20 05:15:42 +00:00
instrprof-visibility-kinds.inc [profile] Add integration test to validate PGO function names 2016-03-25 23:56:23 +00:00
instrprof-visibility.cpp [test] Update coverage tests to sync up with r278152 2016-08-09 21:04:22 +00:00
instrprof-without-libc.c [libprofile] Make this test a bit more specific 2016-03-28 19:25:19 +00:00
instrprof-write-file-atexit-explicitly.c Update lib/profile tests for metadata assembly change 2014-12-15 21:34:19 +00:00
instrprof-write-file-only.c [libprofile] Adjust dummy condition to be more forgiving. 2016-03-26 04:01:57 +00:00
instrprof-write-file.c Update lib/profile tests for metadata assembly change 2014-12-15 21:34:19 +00:00
lit.cfg [profile] Add test for dead_strip+live_support functionality 2016-10-11 21:48:48 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00