gem5 v25.0.0.1
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 Arm Limited 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 Sat Oct 18 2025 08:06:47 for gem5 by doxygen 1.14.0