Skip to content

Commit

Permalink
Do not print stack trace for every exception
Browse files Browse the repository at this point in the history
  • Loading branch information
prp committed Aug 20, 2020
1 parent bcbe882 commit 2778aba
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/enclave/enclave_signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,6 @@ static uint64_t sgxlkl_enclave_signal_handler(
exception_record->address,
opcode);

#ifdef DEBUG
if (sgxlkl_trace_signal)
{
sgxlkl_print_backtrace((void*)oe_ctx->rbp);
}
#endif

/**
* If LKL has not yet been initialised or is terminating (and thus no
* longer accepts signals), we cannot handle the exception and fail
Expand Down

0 comments on commit 2778aba

Please sign in to comment.