MCPcopy Create free account
hub / github.com/crownengine/crown / getCallStackFast

Function getCallStackFast

3rdparty/bx/src/debug.cpp:548–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546 }
547
548 BX_NO_INLINE uint32_t getCallStackFast(uint32_t _skip, uint32_t _max, uintptr_t* _outStack)
549 {
550#if BX_PLATFORM_LINUX || BX_PLATFORM_OSX
551 return getCallStackSystemVAbi(_skip + 1 /* skip self */, _max, _outStack);
552#elif BX_PLATFORM_WINDOWS
553 return getCallStackWinAbi(_skip + 1 /* skip self */, _max, _outStack);
554#elif BX_COMPILER_GCC || BX_COMPILER_CLANG
555 return getCallStackGccBuiltin(_skip + 1 /* skip self */, _max, _outStack);
556#else
557 BX_UNUSED(_skip, _max, _outStack);
558 return 0;
559#endif // BX_PLATFORM_*
560 }
561
562 BX_NO_INLINE uint32_t getCallStackExact(uint32_t _skip, uint32_t _max, uintptr_t* _outStack)
563 {

Callers

nothing calls this directly

Calls 3

getCallStackSystemVAbiFunction · 0.85
getCallStackWinAbiFunction · 0.85
getCallStackGccBuiltinFunction · 0.85

Tested by

no test coverage detected