llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Types | Public Member Functions | Static Public Attributes | List of all members
CxxLSDA Class Referencefinal

#include <core/annot.h>

Inheritance diagram for CxxLSDA:
Inheritance graph
[legend]
Collaboration diagram for CxxLSDA:
Collaboration graph
[legend]

Public Types

using const_type_iterator = std::vector< std::string >::const_iterator
 Iterator over type IDs.
 
- Public Types inherited from Annot
enum  Kind { PROBABILITY = 0, CAML_FRAME = 1, CXX_LSDA = 2 }
 

Public Member Functions

 CxxLSDA (bool cleanup, bool catchAll, std::vector< std::string > &&catches, std::vector< std::string > &&filters)
 
bool IsCleanup () const
 Checks whether the frame is a cleanup frame.
 
bool IsCatchAll () const
 Checks whether the frame is a catch-all frame.
 
size_t catch_size () const
 Returns the number of catches.
 
llvm::iterator_range< const_type_iteratorcatches () const
 Iterator over catches.
 
size_t filter_size () const
 Returns the number of filters.
 
llvm::iterator_range< const_type_iteratorfilters () const
 Iterator over filters.
 
- Public Member Functions inherited from Annot
 Annot (Kind kind)
 Creates a new annotation.
 
bool Is (Kind kind) const
 Checks if the annotation is of a given kind.
 
Kind GetKind () const
 Returns the annotation kind.
 
bool operator== (const Annot &annot) const
 Checks if two annotations are equal.
 

Static Public Attributes

static constexpr Annot::Kind kAnnotKind = Kind::CXX_LSDA
 

Detailed Description

Annotates a landing pad with exception handling information.


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