Skip to content

Commit

Permalink
Make jl_write_coverage_data dllexported again (#52456)
Browse files Browse the repository at this point in the history
Closes #52452
  • Loading branch information
Drvi authored Dec 11, 2023
1 parent bb28222 commit 8cf7598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static void write_lcov_data(logdata_t &logData, const std::string &outfile)
outf.close();
}

extern "C" void jl_write_coverage_data(const char *output)
extern "C" JL_DLLEXPORT void jl_write_coverage_data(const char *output)
{
if (output) {
StringRef output_pattern(output);
Expand Down
2 changes: 1 addition & 1 deletion src/julia_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,7 @@ JL_DLLEXPORT enum jl_memory_order jl_get_atomic_order_checked(jl_sym_t *order, c

struct _jl_image_fptrs_t;

void jl_write_coverage_data(const char*);
JL_DLLEXPORT void jl_write_coverage_data(const char*);
void jl_write_malloc_log(void);

#if jl_has_builtin(__builtin_unreachable) || defined(_COMPILER_GCC_) || defined(_COMPILER_INTEL_)
Expand Down

0 comments on commit 8cf7598

Please sign in to comment.