-
-
Notifications
You must be signed in to change notification settings - Fork 594
/
exh.d
56 lines (47 loc) · 1.63 KB
/
exh.d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1993-1998 by Symantec
* Copyright (C) 2000-2018 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/exh.d, backend/exh.d)
*/
module dmd.backend.exh;
// Online documentation: https://dlang.org/phobos/dmd_backend_exh.html
import dmd.backend.cc;
import dmd.backend.cdef;
import dmd.backend.el;
import dmd.backend.type;
extern (C++):
@nogc:
nothrow:
struct Aobject
{
Symbol *AOsym; // Symbol for active object
targ_size_t AOoffset; // offset from that object
Symbol *AOfunc; // cleanup function
}
/* except.c */
void except_init();
void except_term();
elem *except_obj_ctor(elem *e,Symbol *s,targ_size_t offset,Symbol *sdtor);
elem *except_obj_dtor(elem *e,Symbol *s,targ_size_t offset);
elem *except_throw_expression();
type *except_declaration(Symbol *cv);
void except_exception_spec(type *t);
void except_index_set(int index);
int except_index_get();
void except_pair_setoffset(void *p,targ_size_t offset);
void except_pair_append(void *p, int index);
void except_push(void *p,elem *e,block *b);
void except_pop(void *p,elem *e,block *b);
void except_mark();
void except_release();
Symbol *except_gensym();
Symbol *except_gentables();
void except_fillInEHTable(Symbol *s);
void except_reset();
/* pdata.c */
void win64_pdata(Symbol *sf);