GCC Middle and Back End API Reference
|
Public Member Functions | |
diagnostic_execution_path () | |
diagnostic_event_id_t | add_event_va (const diagnostic_physical_location *physical_loc, const diagnostic_logical_location *logical_loc, unsigned stack_depth, const char *gmsgid, va_list *args) |
unsigned | num_events () const final override |
const diagnostic_event & | get_event (int idx) const final override |
unsigned | num_threads () const final override |
const diagnostic_thread & | get_thread (diagnostic_thread_id_t) const final override |
bool | same_function_p (int event_idx_a, int event_idx_b) const final override |
bool | interprocedural_p () const |
bool | multithreaded_p () const |
Private Member Functions | |
bool | get_first_event_in_a_function (unsigned *out_idx) const |
Private Attributes | |
libgdiagnostics_path_thread | m_thread |
std::vector< std::unique_ptr< libgdiagnostics_path_event > > | m_events |
This has to be a "struct" as it is exposed in the C API.
|
inline |
|
inline |
References make_unique().
|
inlinefinaloverridevirtual |
Implements diagnostic_path.
|
privateinherited |
class diagnostic_path.
Subroutine of diagnostic_path::interprocedural_p. Look for the first event in this path that is within a function i.e. has a non-null logical location for which function_p is true. If found, write its index to *OUT_IDX and return true. Otherwise return false.
References i.
|
inlinefinaloverridevirtual |
Implements diagnostic_path.
|
inherited |
Return true if the events in this path involve more than one function, or false if it is purely intraprocedural.
References diagnostic_event::get_stack_depth(), and i.
|
inherited |
|
inlinefinaloverridevirtual |
Implements diagnostic_path.
|
inlinefinaloverridevirtual |
Implements diagnostic_path.
|
inlinefinaloverridevirtual |
Implements diagnostic_path.
|
private |
|
private |