This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +21
-22
lines changed Expand file tree Collapse file tree 8 files changed +21
-22
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ COPY=\
51
51
$(IMPDIR)\core\internal\array\operations.d \
52
52
$(IMPDIR)\core\internal\array\utils.d \
53
53
\
54
+ $(IMPDIR)\core\internal\backtrace\dwarf.d \
55
+ $(IMPDIR)\core\internal\backtrace\elf.d \
56
+ $(IMPDIR)\core\internal\backtrace\macho.d \
57
+ \
54
58
$(IMPDIR)\core\internal\elf\dl.d \
55
59
$(IMPDIR)\core\internal\elf\io.d \
56
60
\
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ DOCS=\
84
84
$(DOCDIR)\core_internal_execinfo.html \
85
85
$(DOCDIR)\core_internal_qsort.html \
86
86
\
87
+ $(DOCDIR)\core_internal_backtrace_dwarf.html \
88
+ $(DOCDIR)\core_internal_backtrace_elf.html \
89
+ $(DOCDIR)\core_internal_backtrace_macho.html \
90
+ \
87
91
$(DOCDIR)\core_internal_container_array.html \
88
92
$(DOCDIR)\core_internal_container_common.html \
89
93
$(DOCDIR)\core_internal_container_hashtab.html \
@@ -98,10 +102,6 @@ DOCS=\
98
102
$(DOCDIR)\rt_arrayassign.html \
99
103
$(DOCDIR)\rt_arraycat.html \
100
104
\
101
- $(DOCDIR)\rt_backtrace_dwarf.html \
102
- $(DOCDIR)\rt_backtrace_elf.html \
103
- $(DOCDIR)\rt_backtrace_macho.html \
104
- \
105
105
$(DOCDIR)\rt_cast_.html \
106
106
$(DOCDIR)\rt_cmath2.html \
107
107
$(DOCDIR)\rt_config.html \
Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ SRCS=\
51
51
src\core\internal\array\operations.d \
52
52
src\core\internal\array\utils.d \
53
53
\
54
+ src\core\internal\backtrace\dwarf.d \
55
+ src\core\internal\backtrace\elf.d \
56
+ src\core\internal\backtrace\macho.d \
57
+ \
54
58
src\core\internal\container\array.d \
55
59
src\core\internal\container\common.d \
56
60
src\core\internal\container\hashtab.d \
@@ -540,10 +544,6 @@ SRCS=\
540
544
src\rt\tracegc.d \
541
545
src\rt\unwind.d \
542
546
\
543
- src\rt\backtrace\dwarf.d \
544
- src\rt\backtrace\elf.d \
545
- src\rt\backtrace\macho.d \
546
- \
547
547
src\rt\util\typeinfo.d \
548
548
src\rt\util\utility.d \
549
549
\
Original file line number Diff line number Diff line change @@ -159,6 +159,9 @@ $(DOCDIR)/core_gc_%.html : src/core/gc/%.d $(DMD)
159
159
$(DOCDIR ) /core_internal_% .html : src/core/internal/% .d $(DMD )
160
160
$(DMD ) $(DDOCFLAGS ) -Df$@ project.ddoc $(DOCFMT ) $<
161
161
162
+ $(DOCDIR ) /core_internal_backtrace_% .html : src/core/internal/backtrace/% .d $(DMD )
163
+ $(DMD ) $(DDOCFLAGS ) -Df$@ project.ddoc $(DOCFMT ) $<
164
+
162
165
$(DOCDIR ) /core_internal_container_% .html : src/core/internal/container/% .d $(DMD )
163
166
$(DMD ) $(DDOCFLAGS ) -Df$@ project.ddoc $(DOCFMT ) $<
164
167
@@ -192,9 +195,6 @@ $(DOCDIR)/core_thread_%.html : src/core/thread/%.d $(DMD)
192
195
$(DOCDIR ) /rt_% .html : src/rt/% .d $(DMD )
193
196
$(DMD ) $(DDOCFLAGS ) -Df$@ project.ddoc $(DOCFMT ) $<
194
197
195
- $(DOCDIR ) /rt_backtrace_% .html : src/rt/backtrace/% .d $(DMD )
196
- $(DMD ) $(DDOCFLAGS ) -Df$@ project.ddoc $(DOCFMT ) $<
197
-
198
198
$(DOCDIR ) /rt_typeinfo_% .html : src/rt/typeinfo/% .d $(DMD )
199
199
$(DMD ) $(DDOCFLAGS ) -Df$@ project.ddoc $(DOCFMT ) $<
200
200
Original file line number Diff line number Diff line change 47
47
* Source: $(DRUNTIMESRC rt/backtrace/dwarf.d)
48
48
*/
49
49
50
- module rt .backtrace.dwarf ;
50
+ module core.internal .backtrace.dwarf ;
51
51
52
52
import core.internal.execinfo ;
53
53
import core.internal.string ;
@@ -64,9 +64,9 @@ else version (WatchOS)
64
64
version = Darwin;
65
65
66
66
version (Darwin)
67
- import rt .backtrace.macho;
67
+ import core.internal .backtrace.macho ;
68
68
else
69
- import rt .backtrace.elf;
69
+ import core.internal .backtrace.elf ;
70
70
71
71
import core.internal.container.array ;
72
72
import core.stdc.string : strlen, memcpy;
Original file line number Diff line number Diff line change 9
9
* Source: $(DRUNTIMESRC rt/backtrace/elf.d)
10
10
*/
11
11
12
- module rt .backtrace.elf ;
12
+ module core.internal .backtrace.elf ;
13
13
14
14
version (linux )
15
15
{
Original file line number Diff line number Diff line change 6
6
* Authors: Jacob Carlborg
7
7
* Source: $(DRUNTIMESRC rt/backtrace/macho.d)
8
8
*/
9
- module rt .backtrace.macho ;
9
+ module core.internal .backtrace.macho ;
10
10
11
11
version (OSX )
12
12
version = Darwin;
Original file line number Diff line number Diff line change @@ -816,12 +816,7 @@ static if (hasExecinfo) private class DefaultTraceInfo : Throwable.TraceInfo
816
816
817
817
static if (enableDwarf)
818
818
{
819
- import core.internal.traits : externDFunc;
820
-
821
- alias traceHandlerOpApplyImpl = externDFunc! (
822
- " rt.backtrace.dwarf.traceHandlerOpApplyImpl" ,
823
- int function (const (void * )[], scope int delegate (ref size_t , ref const (char [])))
824
- );
819
+ import core.internal.backtrace.dwarf ;
825
820
826
821
if (numframes >= FIRSTFRAME )
827
822
{
You can’t perform that action at this time.
0 commit comments