Skip to content

Commit

Permalink
Fix the backtrace namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
raindroid committed Nov 25, 2024
1 parent 176667b commit 0113d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparta/src/Simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ void Simulation::configure(const int argc,
throw SpartaException("Logging ennoblement is currently not supported with debug-roi. Use --debug or --debug-on-icount");
}

if (SignalMode::ENABLE_BACKTRACE_SIGNALS == signal_mode) {
if (SimulationConfiguration::SignalMode::ENABLE_BACKTRACE_SIGNALS == sim_config_->signal_mode) {
// Handle illegal signals.
// Note: Update documentation if these signals are modified
backtrace_.setAsHandler(SIGSEGV);
Expand Down

0 comments on commit 0113d28

Please sign in to comment.