OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
crashlog.h
Go to the documentation of this file.
1#pragma once
2
3#include <ostream>
4
5class CrashLog final {
6 public:
7 static void setup();
8 static void setGpu(std::string_view name);
9
10 static void dumpStack(const char* sig, const char* extGpuLog);
11
12 private:
13 static void tracebackStd(std::ostream& out);
14 static void tracebackLinux(std::ostream &out);
15 static void tracebackGpu(std::ostream &out, const char* extGpuLog);
16 static void writeSysInfo(std::ostream& fout);
17 };
18
static void setGpu(std::string_view name)
Definition crashlog.cpp:114
static void setup()
Definition crashlog.cpp:102
static void dumpStack(const char *sig, const char *extGpuLog)
Definition crashlog.cpp:120