Constructors

Synopses

Declared in <balst_stacktraceframe.h>

Create a StackTraceFrame object having the default attribute values.

explicit
StackTraceFrame(bslma::Allocator* basicAllocator = 0);

Create a StackTraceFrame object having the same value as the specified original object.

StackTraceFrame(
    StackTraceFrame const& original,
    bslma::Allocator* basicAllocator = 0);

Create a StackTraceFrame object with the specified attribute values.

StackTraceFrame(
    void const* address,
    std::string_view const& libraryFileName,
    int lineNumber,
    std::string_view const& mangledSymbolName,
    std::size_t offsetFromSymbol,
    std::string_view const& sourceFileName,
    std::string_view const& symbolName,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

basicAllocator

memory allocator; null uses the default

original

object to copy

address

return address of the function call

libraryFileName

executable or shared‐library file name

lineNumber

source line number, or ‐1 if unknown

mangledSymbolName

mangled name of the parent function

offsetFromSymbol

offset from the start of symbolName

sourceFileName

name of the source file

symbolName

unmangled name of the parent function

Created with MrDocs