Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
anonymous_namespace{stacktrace.cpp} Namespace Reference

Classes

struct  CapturedFramesResult

Functions

constexpr bool IsValidPrecedingChar (char ch) noexcept
constexpr bool IsValidFollowingChar (char ch) noexcept
bool IsExactSourceMatch (const std::string &stacktrace_entry, const std::string &target_pattern)
std::string NormalizePathSeparators (std::string_view path)
bool ContainsLineNumberToken (const std::string &stacktrace_entry, uint_least32_t line)
size_t ClampStartFrame (size_t start_frame, size_t stack_size) noexcept
template<typename Trace>
std::string ToEntryString (const Trace &stack_trace, size_t index)
template<typename Trace>
size_t FindStartingFrame (const Trace &stack_trace, const helios::StacktraceConfig &config)
template<typename Trace>
size_t ComputeEndFrame (const Trace &stack_trace, const helios::StacktraceConfig &config, size_t start_frame)
template<typename Trace>
CapturedFramesResult CaptureFrames (const Trace &stack_trace, const helios::StacktraceConfig &config)

Variables

constexpr size_t kEntryReserveSize = 512

Function Documentation

◆ CaptureFrames()

template<typename Trace>
CapturedFramesResult anonymous_namespace{stacktrace.cpp}::CaptureFrames ( const Trace & stack_trace,
const helios::StacktraceConfig & config )
nodiscard

Definition at line 246 of file stacktrace.cpp.

◆ ClampStartFrame()

size_t anonymous_namespace{stacktrace.cpp}::ClampStartFrame ( size_t start_frame,
size_t stack_size )
nodiscardnoexcept

Definition at line 93 of file stacktrace.cpp.

◆ ComputeEndFrame()

template<typename Trace>
size_t anonymous_namespace{stacktrace.cpp}::ComputeEndFrame ( const Trace & stack_trace,
const helios::StacktraceConfig & config,
size_t start_frame )
nodiscard

Definition at line 213 of file stacktrace.cpp.

◆ ContainsLineNumberToken()

bool anonymous_namespace{stacktrace.cpp}::ContainsLineNumberToken ( const std::string & stacktrace_entry,
uint_least32_t line )
nodiscard

Definition at line 66 of file stacktrace.cpp.

◆ FindStartingFrame()

template<typename Trace>
size_t anonymous_namespace{stacktrace.cpp}::FindStartingFrame ( const Trace & stack_trace,
const helios::StacktraceConfig & config )
nodiscard

Definition at line 141 of file stacktrace.cpp.

◆ IsExactSourceMatch()

bool anonymous_namespace{stacktrace.cpp}::IsExactSourceMatch ( const std::string & stacktrace_entry,
const std::string & target_pattern )
nodiscard

Definition at line 36 of file stacktrace.cpp.

◆ IsValidFollowingChar()

bool anonymous_namespace{stacktrace.cpp}::IsValidFollowingChar ( char ch)
nodiscardconstexprnoexcept

Definition at line 32 of file stacktrace.cpp.

◆ IsValidPrecedingChar()

bool anonymous_namespace{stacktrace.cpp}::IsValidPrecedingChar ( char ch)
nodiscardconstexprnoexcept

Definition at line 28 of file stacktrace.cpp.

◆ NormalizePathSeparators()

std::string anonymous_namespace{stacktrace.cpp}::NormalizePathSeparators ( std::string_view path)
nodiscard

Definition at line 60 of file stacktrace.cpp.

◆ ToEntryString()

template<typename Trace>
std::string anonymous_namespace{stacktrace.cpp}::ToEntryString ( const Trace & stack_trace,
size_t index )
nodiscard

Definition at line 102 of file stacktrace.cpp.

Variable Documentation

◆ kEntryReserveSize

size_t anonymous_namespace{stacktrace.cpp}::kEntryReserveSize = 512
constexpr

Definition at line 21 of file stacktrace.cpp.