gem5 v24.1.0.1
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
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 Mon Jan 13 2025 04:28:46 for gem5 by doxygen 1.9.8