Skip to content

Commit

Permalink
Turn allocation failure into a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed Dec 16, 2015
1 parent 7e0629a commit 9fe0f2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/jitlayers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ class DebugObjectRegistrar {
jit_code_entry* JITCodeEntry = new jit_code_entry();

if (!JITCodeEntry) {
llvm::report_fatal_error(
"Allocation failed when registering a JIT entry!\n");
jl_printf(JL_STDERR, "WARNING: Allocation failed when registering a JIT entry!\n");
} else {
JITCodeEntry->symfile_addr = Buffer;
JITCodeEntry->symfile_size = Size;
Expand Down

0 comments on commit 9fe0f2d

Please sign in to comment.