Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 011d766

Browse files
committed
rt.sections_*: Restrict SectionGroup.ehTables() to DMD
1 parent 3ba8115 commit 011d766

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/rt/sections_android.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ struct SectionGroup
4444
return _moduleGroup;
4545
}
4646

47+
version (DigitalMars)
4748
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
4849
{
4950
auto pbeg = cast(immutable(FuncTable)*)&__start_deh;

src/rt/sections_elf_shared.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ struct DSO
9595
return _moduleGroup;
9696
}
9797

98+
version (DigitalMars)
9899
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
99100
{
100101
return null;

src/rt/sections_win64.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ struct SectionGroup
4141
return _moduleGroup;
4242
}
4343

44+
version (DigitalMars)
4445
version (Win64)
4546
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
4647
{

0 commit comments

Comments
 (0)