[CI] Fix code coverage and thread sanitizer workflows (#378)

* Fix code coverage workflow

* Relocate rocprofv3 conversion test script + rename tests

- these are rocprofv3 tests and were not properly located and not properly named

* Fix thread sanitizer

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Цей коміт міститься в:
Madsen, JonathanтаJonathan R. Madsen authored and GitHub committed 2025-04-28 10:19:04 -05:00
1 джерело 032c06db9a
коміт 4f03ebc360
9 files changed
+21 -10

No files matched your search

+11
Переглянути файл
@@ -25,6 +25,14 @@
#define ROCPROFV3_PUBLIC_API __attribute__((visibility("default")));
#define ROCPROFV3_INTERNAL_API __attribute__((visibility("internal")));
#if defined(__has_feature)
# if __has_feature(thread_sanitizer)
# define ROCPROFV3_THREAD_SANITIZER 1
# endif
#elif defined(__SANITIZE_THREAD__)
# define ROCPROFV3_THREAD_SANITIZER 1
#endif
#include <dlfcn.h>
#include <signal.h>
#include <stdbool.h>
@@ -65,10 +73,13 @@ __libc_start_main(int (*)(int, char**, char**),
sighandler_t
signal(int signum, sighandler_t handler) ROCPROFV3_PUBLIC_API;
#if !defined(ROCPROFV3_THREAD_SANITIZER)
// breaks thread sanitizer
int
sigaction(int signum,
const struct sigaction* restrict act,
struct sigaction* restrict oldact) ROCPROFV3_PUBLIC_API;
#endif
extern void
rocprofv3_set_main(main_func_t main_func) ROCPROFV3_INTERNAL_API;