Skip to content

Commit 6627b91

Browse files
DrviKristofferC
authored andcommitted
Make jl_write_coverage_data dllexported again (#52456)
Closes #52452 (cherry picked from commit 8cf7598)
1 parent 1dd88d1 commit 6627b91

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
@@ -1603,7 +1603,7 @@ JL_DLLEXPORT enum jl_memory_order jl_get_atomic_order_checked(jl_sym_t *order, c
16031603

16041604
struct _jl_image_fptrs_t;
16051605

1606-
void jl_write_coverage_data(const char*);
1606+
JL_DLLEXPORT void jl_write_coverage_data(const char*);
16071607
void jl_write_malloc_log(void);
16081608

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

0 commit comments

Comments
 (0)