mirror of
https://github.com/bkaradzic/bx.git
synced 2026-06-08 03:03:48 +00:00
Implement getCallStackFast/Exact for fast call-stack backtrace.
This commit is contained in:
@@ -42,7 +42,7 @@ namespace bx
|
||||
total += write(&smb, "\n\n", &err);
|
||||
|
||||
uintptr_t stack[32];
|
||||
const uint32_t num = getCallStack(2 /* skip self */ + _skip, BX_COUNTOF(stack), stack);
|
||||
const uint32_t num = getCallStackExact(2 /* skip self */ + _skip, BX_COUNTOF(stack), stack);
|
||||
total += writeCallstack(&smb, stack, num, &err);
|
||||
|
||||
total += write(&smb, &err,
|
||||
|
||||
902
src/debug.cpp
902
src/debug.cpp
File diff suppressed because it is too large
Load Diff
@@ -303,6 +303,12 @@ namespace bx
|
||||
set(_filePath);
|
||||
}
|
||||
|
||||
FilePath& FilePath::operator=(const char* _rhs)
|
||||
{
|
||||
set(_rhs);
|
||||
return *this;
|
||||
}
|
||||
|
||||
FilePath& FilePath::operator=(const StringView& _rhs)
|
||||
{
|
||||
set(_rhs);
|
||||
|
||||
Reference in New Issue
Block a user