Skip to content

Commit d93beb8

Browse files
committed
RISCV32: Add DWARF regno definitions
1 parent c647a8a commit d93beb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rt/dwarfeh.d

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ else version (RISCV64)
7878
enum eh_exception_regno = 10;
7979
enum eh_selector_regno = 11;
8080
}
81+
else version (RISCV32)
82+
{
83+
enum eh_exception_regno = 10;
84+
enum eh_selector_regno = 11;
85+
}
8186
else
8287
{
8388
static assert(0, "Unknown EH register numbers for this architecture");

0 commit comments

Comments
 (0)