line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
269122
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
26
|
|
3
|
1
|
|
|
1
|
|
5
|
use SPVM::Builder::Config; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
111
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
my $config = SPVM::Builder::Config->new_cpp(file => __FILE__); |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
if ($^O eq 'MSWin32') { |
8
|
|
|
|
|
|
|
# Need shared_mutex support in Windows. |
9
|
|
|
|
|
|
|
$config->set_std('c++17'); |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
else { |
12
|
|
|
|
|
|
|
$config->set_std('c++11'); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
$config->ext('cc'); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
my @source_files = qw( |
18
|
|
|
|
|
|
|
util/strutil.cc |
19
|
|
|
|
|
|
|
util/rune.cc |
20
|
|
|
|
|
|
|
util/pcre.cc |
21
|
|
|
|
|
|
|
re2/dfa.cc |
22
|
|
|
|
|
|
|
re2/prefilter_tree.cc |
23
|
|
|
|
|
|
|
re2/stringpiece.cc |
24
|
|
|
|
|
|
|
re2/bitstate.cc |
25
|
|
|
|
|
|
|
re2/unicode_casefold.cc |
26
|
|
|
|
|
|
|
re2/simplify.cc |
27
|
|
|
|
|
|
|
re2/filtered_re2.cc |
28
|
|
|
|
|
|
|
re2/onepass.cc |
29
|
|
|
|
|
|
|
re2/re2.cc |
30
|
|
|
|
|
|
|
re2/parse.cc |
31
|
|
|
|
|
|
|
re2/set.cc |
32
|
|
|
|
|
|
|
re2/prog.cc |
33
|
|
|
|
|
|
|
re2/prefilter.cc |
34
|
|
|
|
|
|
|
re2/mimics_pcre.cc |
35
|
|
|
|
|
|
|
re2/regexp.cc |
36
|
|
|
|
|
|
|
re2/nfa.cc |
37
|
|
|
|
|
|
|
re2/tostring.cc |
38
|
|
|
|
|
|
|
re2/perl_groups.cc |
39
|
|
|
|
|
|
|
re2/unicode_groups.cc |
40
|
|
|
|
|
|
|
re2/compile.cc |
41
|
|
|
|
|
|
|
); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
$config->add_source_files(@source_files); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
$config; |