Skip to content

Commit 8cf7598

Browse files
authored
Make jl_write_coverage_data dllexported again (#52456)
Closes #52452
1 parent bb28222 commit 8cf7598

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coverage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static void write_lcov_data(logdata_t &logData, const std::string &outfile)
192192
outf.close();
193193
}
194194

195-
extern "C" void jl_write_coverage_data(const char *output)
195+
extern "C" JL_DLLEXPORT void jl_write_coverage_data(const char *output)
196196
{
197197
if (output) {
198198
StringRef output_pattern(output);

src/julia_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ JL_DLLEXPORT enum jl_memory_order jl_get_atomic_order_checked(jl_sym_t *order, c
16351635

16361636
struct _jl_image_fptrs_t;
16371637

1638-
void jl_write_coverage_data(const char*);
1638+
JL_DLLEXPORT void jl_write_coverage_data(const char*);
16391639
void jl_write_malloc_log(void);
16401640

16411641
#if jl_has_builtin(__builtin_unreachable) || defined(_COMPILER_GCC_) || defined(_COMPILER_INTEL_)

0 commit comments

Comments
 (0)