line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#pragma once |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#include |
4
|
|
|
|
|
|
|
#include |
5
|
|
|
|
|
|
|
#include |
6
|
|
|
|
|
|
|
#include "DualTrace.h" |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
namespace xs { |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
extern Sv::payload_marker_t backtrace_c_marker; |
11
|
|
|
|
|
|
|
extern Sv::payload_marker_t backtrace_perl_marker; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
int payload_backtrace_c_free(pTHX_ SV*, MAGIC* mg); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
panda::string get_backtrace_string(Ref except); |
16
|
|
|
|
|
|
|
panda::string get_backtrace_string_pp(Ref except); |
17
|
|
|
|
|
|
|
panda::iptr get_backtrace(Ref except); |
18
|
|
|
|
|
|
|
panda::iptr create_backtrace(); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Sv safe_wrap_exception(Sv ex); |
21
|
|
|
|
|
|
|
void install_exception_processor(); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
template <> |
25
|
|
|
|
|
|
|
struct Typemap: TypemapObject{ |
26
|
|
|
|
|
|
|
static panda::string_view package() {return "Exception::Backtrace::DualTrace"; } |
27
|
|
|
|
|
|
|
}; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
template |
30
|
|
|
|
|
|
|
struct Typemap: TypemapObject{ |
31
|
20
|
|
|
|
|
|
static panda::string_view package() {return "Exception::Backtrace::BacktraceInfo"; } |
32
|
|
|
|
|
|
|
}; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
template <> |
35
|
|
|
|
|
|
|
struct Typemap: TypemapObject{ |
36
|
|
|
|
|
|
|
static panda::string_view package() {return "Exception::Backtrace::Stackframe"; } |
37
|
|
|
|
|
|
|
}; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
}; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
namespace panda { namespace backtrace { |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
void install_backtracer(); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
}} |