bug.h File Reference
#include <cassert>
#include <memory>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <vector>
#include <pthread.h>

Classes

class  ttg::detail::MemoryWatchpoint_x86_64
 MemoryWatchpoint represents a hardware watchpoint for a memory location Implements a memory watchpoint on x86 ... only implemented for macOS so far this is a slightly tweaked version of https://m.habrahabr.ru/post/103073/ see also http://www.sandpile.org/x86/drx.htm for the x86 debugging register map. More...
 
class  ttg::detail::MemoryWatchpoint_x86_64::Pool
 a singleton pool of MemoryWatchpoint objects More...
 
class  ttg::Debugger
 

Namespaces

 ttg
 top-level TTG namespace contains runtime-neutral functionality
 
 ttg::detail
 

Functions

void ttg::initialize_fpe ()
 Initializes the floating point exceptions. More...
 
void ttg::launch_debugger (int rank, const char *exec_name, const char *cmd)
 
void ttg::launch_lldb (int rank, const char *exec_name)
 
void ttg::launch_gdb (int rank, const char *exec_name)