GCC Middle and Back End API Reference
ana::exception_node Struct Reference

#include <region-model.h>

Collaboration diagram for ana::exception_node:

Public Member Functions

 exception_node (const svalue *exception_sval, const svalue *typeinfo_sval, const svalue *destructor_sval)
bool operator== (const exception_node &other) const
void dump_to_pp (pretty_printer *pp, bool simple) const
void dump (FILE *fp, bool simple) const
void dump (bool simple) const
void dump () const
std::unique_ptr< json::objectto_json () const
std::unique_ptr< text_art::tree_widget > make_dump_widget (const text_art::dump_widget_info &dwi) const
tree maybe_get_type () const
void add_to_reachable_regions (reachable_regions &) const

Data Fields

const svaluem_exception_sval
const svaluem_typeinfo_sval
const svaluem_destructor_sval

Detailed Description

Roughly equivalent to a struct __cxa_exception, except we store a std::vector rather than a linked list.

Constructor & Destructor Documentation

◆ exception_node()

ana::exception_node::exception_node ( const svalue * exception_sval,
const svalue * typeinfo_sval,
const svalue * destructor_sval )
inline

Member Function Documentation

◆ add_to_reachable_regions()

void ana::exception_node::add_to_reachable_regions ( reachable_regions & ) const

◆ dump() [1/3]

void ana::exception_node::dump ( ) const

◆ dump() [2/3]

void ana::exception_node::dump ( bool simple) const

◆ dump() [3/3]

void ana::exception_node::dump ( FILE * fp,
bool simple ) const

◆ dump_to_pp()

void ana::exception_node::dump_to_pp ( pretty_printer * pp,
bool simple ) const

◆ make_dump_widget()

std::unique_ptr< text_art::tree_widget > ana::exception_node::make_dump_widget ( const text_art::dump_widget_info & dwi) const

◆ maybe_get_type()

tree ana::exception_node::maybe_get_type ( ) const

◆ operator==()

bool ana::exception_node::operator== ( const exception_node & other) const

References exception_node().

◆ to_json()

std::unique_ptr< json::object > ana::exception_node::to_json ( ) const

Field Documentation

◆ m_destructor_sval

const svalue* ana::exception_node::m_destructor_sval

Referenced by exception_node().

◆ m_exception_sval

const svalue* ana::exception_node::m_exception_sval

Referenced by exception_node().

◆ m_typeinfo_sval

const svalue* ana::exception_node::m_typeinfo_sval

Referenced by exception_node().


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