19 const bool is_loophead = std::any_of(
32 return "location-only";
56 source_location == previous_source_location &&
This class represents an instruction in the GOTO intermediate representation.
std::set< targett, target_less_than > incoming_edges
instructionst::iterator targett
Step of the trace of a GOTO program.
goto_programt::const_targett pc
std::size_t step_nr
Number of the step in the trace.
const irep_idt & get_file() const
#define UNREACHABLE
This should be used to mark dead code.
default_step_kindt default_step_kind(const goto_programt::instructiont &instruction)
Identify for a given instruction whether it is a loophead or just a location.
std::string default_step_name(const default_step_kindt &step_type)
Turns a default_step_kindt into a string that can be used in the trace.
std::optional< default_trace_stept > default_step(const goto_trace_stept &step, const source_locationt &previous_source_location)
Utilities for printing location info steps in the trace in a format agnostic way.
default_step_kindt
There are two kinds of step for location markers - location-only and loop-head (for locations associa...