ReactOS 0.4.15-dev-8339-g4028de8
seh_function Struct Reference
Collaboration diagram for seh_function:

Public Member Functions

 seh_function (struct function *fun)
 

Public Attributes

bool unwind
 
bool except
 
tree asm_header_text
 
tree asm_header
 
size_t count
 
std::vector< seh_handlerhandlers
 

Detailed Description

Definition at line 50 of file main.cpp.

Constructor & Destructor Documentation

◆ seh_function()

seh_function::seh_function ( struct function *  fun)
inline

Definition at line 59 of file main.cpp.

60 : unwind(false)
61 , except(false)
62 , count(0)
63 {
64 /* Reserve space for our header statement */
65#if 0 // FIXME: crashes on older GCC
67#else
69 memset(buf, 0, sizeof(buf));
70 asm_header_text = build_string(sizeof(buf), buf);
71#endif
72 asm_header = build_stmt(fun->function_start_locus, ASM_EXPR, asm_header_text, NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE);
73 ASM_VOLATILE_P(asm_header) = 1;
74 add_stmt(asm_header);
75 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define memset(x, y, z)
Definition: compat.h:39
constexpr size_t k_header_statement_max_size
Definition: main.cpp:42
size_t count
Definition: main.cpp:56
tree asm_header_text
Definition: main.cpp:54
tree asm_header
Definition: main.cpp:55
bool unwind
Definition: main.cpp:52
bool except
Definition: main.cpp:53

Member Data Documentation

◆ asm_header

tree seh_function::asm_header

Definition at line 55 of file main.cpp.

Referenced by seh_function().

◆ asm_header_text

tree seh_function::asm_header_text

Definition at line 54 of file main.cpp.

Referenced by finish_seh_function(), and seh_function().

◆ count

size_t seh_function::count

Definition at line 56 of file main.cpp.

Referenced by finish_seh_function(), and handle_seh_pragma().

◆ except

bool seh_function::except

Definition at line 53 of file main.cpp.

Referenced by finish_seh_function(), and handle_seh_pragma().

◆ handlers

std::vector<seh_handler> seh_function::handlers

Definition at line 57 of file main.cpp.

Referenced by finish_seh_function(), and handle_seh_pragma().

◆ unwind

bool seh_function::unwind

Definition at line 52 of file main.cpp.

Referenced by finish_seh_function(), and handle_seh_pragma().


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