line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
278621
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
2
|
1
|
|
|
1
|
|
10
|
use warnings; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
27
|
|
3
|
1
|
|
|
1
|
|
7
|
use SPVM::Builder::Config; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
114
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
my $config = SPVM::Builder::Config->new_cpp17(file => __FILE__); |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
$config->add_ccflags('-pthread', '-Wno-unused-parameter', '-Wno-missing-field-initializers'); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
$config->ext('cc'); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
my @source_files = qw( |
12
|
|
|
|
|
|
|
re2/dfa.cc |
13
|
|
|
|
|
|
|
re2/prefilter_tree.cc |
14
|
|
|
|
|
|
|
re2/stringpiece.cc |
15
|
|
|
|
|
|
|
re2/bitstate.cc |
16
|
|
|
|
|
|
|
re2/unicode_casefold.cc |
17
|
|
|
|
|
|
|
re2/simplify.cc |
18
|
|
|
|
|
|
|
re2/filtered_re2.cc |
19
|
|
|
|
|
|
|
re2/onepass.cc |
20
|
|
|
|
|
|
|
re2/bitmap256.cc |
21
|
|
|
|
|
|
|
re2/re2.cc |
22
|
|
|
|
|
|
|
re2/parse.cc |
23
|
|
|
|
|
|
|
re2/set.cc |
24
|
|
|
|
|
|
|
re2/prog.cc |
25
|
|
|
|
|
|
|
re2/prefilter.cc |
26
|
|
|
|
|
|
|
re2/mimics_pcre.cc |
27
|
|
|
|
|
|
|
re2/regexp.cc |
28
|
|
|
|
|
|
|
re2/nfa.cc |
29
|
|
|
|
|
|
|
re2/tostring.cc |
30
|
|
|
|
|
|
|
re2/perl_groups.cc |
31
|
|
|
|
|
|
|
re2/unicode_groups.cc |
32
|
|
|
|
|
|
|
re2/compile.cc |
33
|
|
|
|
|
|
|
util/strutil.cc |
34
|
|
|
|
|
|
|
util/rune.cc |
35
|
|
|
|
|
|
|
util/pcre.cc |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$config->add_source_files(@source_files); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
$config; |