GCC Middle and Back End API Reference
|
#include <diagnostic-path.h>
Public Member Functions | |
virtual | ~diagnostic_path () |
virtual unsigned | num_events () const =0 |
virtual const diagnostic_event & | get_event (int idx) const =0 |
virtual unsigned | num_threads () const =0 |
virtual const diagnostic_thread & | get_thread (diagnostic_thread_id_t) const =0 |
virtual bool | same_function_p (int event_idx_a, int event_idx_b) const =0 |
bool | interprocedural_p () const |
bool | multithreaded_p () const |
Private Member Functions | |
bool | get_first_event_in_a_function (unsigned *out_idx) const |
Abstract base class for getting at a sequence of events.
|
inlinevirtual |
|
pure virtual |
Implemented in ana::checker_path, and simple_diagnostic_path.
|
private |
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.
|
pure virtual |
Implemented in ana::checker_path, and simple_diagnostic_path.
bool diagnostic_path::interprocedural_p | ( | ) | const |
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.
bool diagnostic_path::multithreaded_p | ( | ) | const |
|
pure virtual |
Implemented in ana::checker_path, and simple_diagnostic_path.
|
pure virtual |
Implemented in ana::checker_path, and simple_diagnostic_path.
|
pure virtual |
Implemented in ana::checker_path, and simple_diagnostic_path.