Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::LLVMSymbolizerService Class Reference
Inheritance diagram for Arcane::LLVMSymbolizerService:
Collaboration diagram for Arcane::LLVMSymbolizerService:

Public Member Functions

 LLVMSymbolizerService (const ServiceBuildInfo &sbi)
 LLVMSymbolizerService (ITraceMng *tm)
void build ()
String stackTrace (ConstArrayView< StackFrame > frames) override
 Information for the call stack frames.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Member Functions

void _checkValid ()
 Checks that the specified path is valid.
void _init ()

Private Attributes

String m_llvm_symbolizer_path
bool m_is_check_done = false
bool m_is_valid = false

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Definition at line 576 of file LibUnwindStackTraceService.cc.

Constructor & Destructor Documentation

◆ LLVMSymbolizerService() [1/2]

Arcane::LLVMSymbolizerService::LLVMSymbolizerService ( const ServiceBuildInfo & sbi)
inlineexplicit

Definition at line 582 of file LibUnwindStackTraceService.cc.

◆ LLVMSymbolizerService() [2/2]

Arcane::LLVMSymbolizerService::LLVMSymbolizerService ( ITraceMng * tm)
inlineexplicit

Definition at line 587 of file LibUnwindStackTraceService.cc.

Member Function Documentation

◆ _checkValid()

void Arcane::LLVMSymbolizerService::_checkValid ( )
inlineprivate

Checks that the specified path is valid.

Definition at line 610 of file LibUnwindStackTraceService.cc.

References Arcane::Directory::file(), and Arcane::platform::getFileLength().

Referenced by stackTrace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _init()

void Arcane::LLVMSymbolizerService::_init ( )
inlineprivate

Definition at line 624 of file LibUnwindStackTraceService.cc.

◆ build()

void Arcane::LLVMSymbolizerService::build ( )
inline

Definition at line 595 of file LibUnwindStackTraceService.cc.

◆ stackTrace()

String Arcane::LLVMSymbolizerService::stackTrace ( ConstArrayView< StackFrame > frames)
overridevirtual

Information for the call stack frames.

Implements Arcane::ISymbolizerService.

Definition at line 633 of file LibUnwindStackTraceService.cc.

References _checkValid(), Arcane::arcaneCheckArraySize(), Arcane::Process::execute(), Arcane::ProcessExecArgs::outputBytes(), and Arcane::ConstArrayView< T >::size().

Here is the call graph for this function:

Member Data Documentation

◆ m_is_check_done

bool Arcane::LLVMSymbolizerService::m_is_check_done = false
private

Definition at line 604 of file LibUnwindStackTraceService.cc.

◆ m_is_valid

bool Arcane::LLVMSymbolizerService::m_is_valid = false
private

Definition at line 605 of file LibUnwindStackTraceService.cc.

◆ m_llvm_symbolizer_path

String Arcane::LLVMSymbolizerService::m_llvm_symbolizer_path
private

Definition at line 603 of file LibUnwindStackTraceService.cc.


The documentation for this class was generated from the following file: