[#BloombergLP-bsls-StackAddressUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::StackAddressUtil
:relfileprefix: ../../
:mrdocs:

This struct provides a namespace for the function to obtain return addresses from the stack&period;

== Synopsis

Declared in `&lt;bsls&lowbar;stackaddressutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class StackAddressUtil;
----

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/StackAddressUtil/_04enum.adoc[`Unnamed enum`] 
| Constants controlling stack address capture on Linux and Darwin&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/StackAddressUtil/formatCheapStack.adoc[`formatCheapStack`] 
| Format Bloomberg &quot;cheapstack&quot; contents into the specified buffer&period;
| xref:BloombergLP/bsls/StackAddressUtil/getStackAddresses.adoc[`getStackAddresses`] 
| Load return addresses from the current call stack into `buffer`&period;
|===



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