Skip to content

Commit 6eb702b

Browse files
committed
feat(compiler): added MSVC exception handling types
1 parent b9c9877 commit 6eb702b

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎compiler/msvc/eh.toml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[structs.EH_CatchableType]
2+
members = [
3+
{ type = "u32", name = "properties" },
4+
{ type = "u32", name = "pType" },
5+
{ type = "i32", name = "where_mdisp" },
6+
{ type = "i32", name = "where_pdisp" },
7+
{ type = "i32", name = "where_vdisp" },
8+
{ type = "u32", name = "sizeOrOffset" },
9+
{ type = "u32", name = "copyFunction" },
10+
]
11+
12+
[structs.EH_CatchableTypeArray]
13+
members = [
14+
{ type = "u32", name = "nCatchableTypes" },
15+
]
16+
17+
[structs.EH_ThrowInfo]
18+
members = [
19+
{ type = "u32", name = "attributes" },
20+
{ type = "u32", name = "pmfnUnwind" },
21+
{ type = "u32", name = "pForwardCompat" },
22+
{ type = "u32", name = "pCatchableTypeArray" },
23+
]

0 commit comments

Comments
 (0)