gem5 v24.0.0.0
Loading...
Searching...
No Matches
backtrace_glibc.cc File Reference
#include <execinfo.h>
#include <unistd.h>
#include "base/atomicio.hh"
#include "sim/backtrace.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 

Macros

#define SAFE_MSG(m)
 

Functions

void gem5::print_backtrace ()
 Print a gem5 post-mortem report.
 

Macro Definition Documentation

◆ SAFE_MSG

#define SAFE_MSG ( m)
Value:
do { \
static const char msg[] = m; \
atomic_write(STDERR_FILENO, msg, sizeof(msg) - 1); \
} while (0)

Definition at line 47 of file backtrace_glibc.cc.


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0