core.internal.execinfo
This module helps to decide whether an appropriate execinfo implementation is available in the underling C runtime or in an external library. In the latter case exactly one of the following version identifiers should be set at the time of building druntime.
Possible external execinfo version IDs based on possible backtrace output formats:
The code also ensures that at most one format is selected (either by automatic C runtime detection or by ExtExecinfo_ version IDs) and stores the corresponding values in BacktraceFmt.
With getMangledSymbolName we can get the original mangled symbol name from backtrace_symbols output of any supported version.
Copyright
Types 1
Indicates the backtrace format of the actual execinfo implementation. At most one of the values is allowed to be set to true the others should be false.
Functions 1
Variables 1
hasExecinfo = is(_execinfo == module)Indicates the availability of backtrace functions