Branch: Tag:

2020-12-09

2020-12-09 14:51:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ABS: Added provider hooks for adding info to ABS output.

Adds support for "abs-hook" and "describe-thread".

3810: Inside #if undefined(__NT__)
   }    })    master()->handle_error(err); +  foreach(configurations, Configuration conf) { +  foreach(conf->get_providers("abs-hook"), RoxenModule mod) { +  catch { +  mod->abs_hook && mod->abs_hook(); +  }; +  } +  }    low_engage_abs();   }   
6300:    report_debug(">> ### Thread 0x%x%s:\n",    thread->id_number(),    thread_descr); +  +  foreach(configurations, Configuration conf) { +  foreach(conf->get_providers("describe-thread"), RoxenModule mod) { +  catch { +  mod->describe_thread && mod->describe_thread(thread); +  }; +  } +  } +     // Use roxenloader's original reference to describe_backtrace to sidestep    // the background failure wrapper that's active in RUN_SELF_TEST.    string th_bt = roxenloader.orig_predef_describe_bt(thread->backtrace());