[#BloombergLP-balst-StackTraceFrame-2constructor-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceFrame.adoc[StackTraceFrame]::StackTraceFrame
:relfileprefix: ../../../
:mrdocs:

Create a `StackTraceFrame` object with the specified attribute values&period;

== Synopsis

Declared in `&lt;balst&lowbar;stacktraceframe&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
StackTraceFrame(
    void const* address,
    std::string&lowbar;view const& libraryFileName,
    int lineNumber,
    std::string&lowbar;view const& mangledSymbolName,
    std::size&lowbar;t offsetFromSymbol,
    std::string&lowbar;view const& sourceFileName,
    std::string&lowbar;view const& symbolName,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

Create a `StackTraceFrame` object having the specified `address`, `libraryFileName`, `lineNumber`, `mangledSymbolName`, `offsetFromSymbol`, `sourceFileName`, and `symbolName` attribute values&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; The behavior is undefined unless `&hyphen;1 &lt;&equals; lineNumber`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| return address of the function call
| *libraryFileName*
| executable or shared&hyphen;library file name
| *lineNumber*
| source line number, or &hyphen;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
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
