Skip to content

Commit

Permalink
fixup! print an error if compiler-rt can't be opened
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Oct 10, 2016
1 parent 25aae86 commit be6f754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jitlayers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static uint64_t resolve_compiler_rt(const char *name)
JL_RTLD_LOCAL | JL_RTLD_LAZY);
static const char *const prefix = "__";
if (!compiler_rt_hdl) {
llvm::report_fatal_error("FATAL: Unable to dlopen compiler-rt");
jl_printf(JL_STDERR, "WARNING: Unable to dlopen compiler-rt\n");
return 0;
} else if (strncmp(name, prefix, strlen(prefix)) != 0) {
return 0;
Expand Down

0 comments on commit be6f754

Please sign in to comment.