UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UnixPlatformStackWalk.cpp File Reference
#include "Unix/UnixPlatformStackWalk.h"
#include "CoreGlobals.h"
#include "Misc/Paths.h"
#include "Misc/Parse.h"
#include "Misc/ScopeLock.h"
#include "Misc/CommandLine.h"
#include "Unix/UnixPlatformCrashContext.h"
#include "Unix/UnixPlatformRealTimeSignals.h"
#include "HAL/ExceptionHandling.h"
#include "HAL/PlatformProcess.h"
#include "HAL/PlatformTime.h"
#include "AutoRTFM.h"
#include <link.h>
#include <signal.h>
#include "HAL/IConsoleManager.h"
#include <sys/mman.h>

Functions

void CORE_API UnixPlatformStackWalk_UnloadPreloadedModuleSymbol ()
 
void CORE_API UnixPlatformStackWalk_PreloadModuleSymbolFile ()
 
void ReportAssert (const TCHAR *ErrorMessage, void *ProgramCounter)
 
void ReportGPUCrash (const TCHAR *ErrorMessage, void *ProgramCounter)
 
void ReportEnsure (const TCHAR *ErrorMessage, void *ProgramCounter)
 
void ReportStall (const TCHAR *Message, uint32 ThreadId)
 
void ReportHang (const TCHAR *ErrorMessage, const uint64 *StackFrames, int32 NumStackFrames, uint32 HungThreadId)
 

Variables

bool CORE_API GFullCrashCallstack
 
bool CORE_API GTimeEnsures
 
thread_local const TCHARGCrashErrorMessage = nullptr
 
thread_local voidGCrashErrorProgramCounter = nullptr
 
thread_local ECrashContextType GCrashErrorType = ECrashContextType::Crash
 

Function Documentation

◆ ReportAssert()

void ReportAssert ( const TCHAR ErrorMessage,
void ProgramCounter 
)

◆ ReportEnsure()

void ReportEnsure ( const TCHAR ErrorMessage,
void ProgramCounter 
)

◆ ReportGPUCrash()

void ReportGPUCrash ( const TCHAR ErrorMessage,
void ProgramCounter 
)

◆ ReportHang()

void ReportHang ( const TCHAR ErrorMessage,
const uint64 StackFrames,
int32  NumStackFrames,
uint32  HungThreadId 
)

◆ ReportStall()

void ReportStall ( const TCHAR Message,
uint32  ThreadId 
)

◆ UnixPlatformStackWalk_PreloadModuleSymbolFile()

void CORE_API UnixPlatformStackWalk_PreloadModuleSymbolFile ( )

◆ UnixPlatformStackWalk_UnloadPreloadedModuleSymbol()

void CORE_API UnixPlatformStackWalk_UnloadPreloadedModuleSymbol ( )

Variable Documentation

◆ GCrashErrorMessage

thread_local const TCHAR* GCrashErrorMessage = nullptr

Message for the assert triggered on this thread

◆ GCrashErrorProgramCounter

thread_local void* GCrashErrorProgramCounter = nullptr

◆ GCrashErrorType

◆ GFullCrashCallstack

bool CORE_API GFullCrashCallstack
extern

◆ GTimeEnsures

bool CORE_API GTimeEnsures
extern