ATLAS Offline Software
Namespaces | Macros | Functions
SealDebug.cxx File Reference
#include "CxxUtils/SealCommon.h"
#include "CxxUtils/SealDebug.h"
#include "CxxUtils/SealSignal.h"
#include "CxxUtils/UnwindBacktrace.h"
#include "CxxUtils/checker_macros.h"
#include <cstring>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <climits>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/resource.h>

Go to the source code of this file.

Namespaces

 Athena
 Some weak symbol referencing magic...
 

Macros

#define STDERR_HANDLE   STDERR_FILENO
 
#define MYWRITE(fd, data, n)   write(fd,data,n)
 
#define MYWRITELIT(fd, str)   MYWRITE(fd,str,sizeof(str)-1)
 

Functions

void DebugAids::stacktraceLine Athena::ATLAS_NOT_THREAD_SAFE (IOFD fd, unsigned long addr)
 Write out stack trace line to FD. More...
 
void DebugAids::setStackTraceAddr2Line Athena::ATLAS_NOT_THREAD_SAFE (const char *path)
 
void DebugAids::stacktrace Athena::ATLAS_NOT_THREAD_SAFE (IOFD fd)
 Produce a stack trace. More...
 

Macro Definition Documentation

◆ MYWRITE

#define MYWRITE (   fd,
  data,
 
)    write(fd,data,n)

Definition at line 94 of file SealDebug.cxx.

◆ MYWRITELIT

#define MYWRITELIT (   fd,
  str 
)    MYWRITE(fd,str,sizeof(str)-1)

Definition at line 98 of file SealDebug.cxx.

◆ STDERR_HANDLE

#define STDERR_HANDLE   STDERR_FILENO

Definition at line 84 of file SealDebug.cxx.