merge.test
2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
REQUIRES: x86_64-linux
RUN: sancov -merge %p/Inputs/test-linux_x86_64.0.symcov| FileCheck --check-prefix=MERGE1 %s
RUN: sancov -merge %p/Inputs/test-linux_x86_64.0.symcov %p/Inputs/test-linux_x86_64.1.symcov| FileCheck --check-prefix=MERGE2 %s
MERGE1: {
MERGE1-NEXT: "covered-points": [
MERGE1-NEXT: "4e132b",
MERGE1-NEXT: "4e1472",
MERGE1-NEXT: "4e1520",
MERGE1-NEXT: "4e1553",
MERGE1-NEXT: "4e1586"
MERGE1-NEXT: ],
MERGE1-NEXT: "binary-hash": "BB3CDD5045AED83906F6ADCC1C4DAF7E2596A6B5",
MERGE1-NEXT: "point-symbol-info": {
MERGE1-NEXT: "test/tools/sancov/Inputs/foo.cpp": {
MERGE1-NEXT: "foo()": {
MERGE1-NEXT: "4e178c": "5:0"
MERGE1-NEXT: }
MERGE1-NEXT: },
MERGE1-NEXT: "test/tools/sancov/Inputs/test.cpp": {
MERGE1-NEXT: "bar(std::string)": {
MERGE1-NEXT: "4e132b": "12:0"
MERGE1-NEXT: },
MERGE1-NEXT: "main": {
MERGE1-NEXT: "4e1472": "14:0",
MERGE1-NEXT: "4e14c2": "16:9",
MERGE1-NEXT: "4e1520": "17:5",
MERGE1-NEXT: "4e1553": "17:5",
MERGE1-NEXT: "4e1586": "17:5",
MERGE1-NEXT: "4e1635": "19:1",
MERGE1-NEXT: "4e1690": "17:5"
MERGE1-NEXT: }
MERGE1-NEXT: }
MERGE1-NEXT: }
MERGE1-NEXT: }
MERGE2: {
MERGE2-NEXT: "covered-points": [
MERGE2-NEXT: "04e132b",
MERGE2-NEXT: "04e1472",
MERGE2-NEXT: "04e1520",
MERGE2-NEXT: "04e1553",
MERGE2-NEXT: "04e1586",
MERGE2-NEXT: "14e132b",
MERGE2-NEXT: "14e1472",
MERGE2-NEXT: "14e14c2",
MERGE2-NEXT: "14e1520",
MERGE2-NEXT: "14e1553",
MERGE2-NEXT: "14e1586",
MERGE2-NEXT: "14e178c"
MERGE2-NEXT: ],
MERGE2-NEXT: "binary-hash": "",
MERGE2-NEXT: "point-symbol-info": {
MERGE2-NEXT: "test/tools/sancov/Inputs/foo.cpp": {
MERGE2-NEXT: "foo()": {
MERGE2-NEXT: "04e178c": "5:0",
MERGE2-NEXT: "14e178c": "5:0"
MERGE2-NEXT: }
MERGE2-NEXT: },
MERGE2-NEXT: "test/tools/sancov/Inputs/test.cpp": {
MERGE2-NEXT: "bar(std::string)": {
MERGE2-NEXT: "04e132b": "12:0",
MERGE2-NEXT: "14e132b": "12:0"
MERGE2-NEXT: },
MERGE2-NEXT: "main": {
MERGE2-NEXT: "04e1472": "14:0",
MERGE2-NEXT: "04e14c2": "16:9",
MERGE2-NEXT: "04e1520": "17:5",
MERGE2-NEXT: "04e1553": "17:5",
MERGE2-NEXT: "04e1586": "17:5",
MERGE2-NEXT: "04e1635": "19:1",
MERGE2-NEXT: "04e1690": "17:5",
MERGE2-NEXT: "14e1472": "14:0",
MERGE2-NEXT: "14e14c2": "16:9",
MERGE2-NEXT: "14e1520": "17:5",
MERGE2-NEXT: "14e1553": "17:5",
MERGE2-NEXT: "14e1586": "17:5",
MERGE2-NEXT: "14e1635": "19:1",
MERGE2-NEXT: "14e1690": "17:5"
MERGE2-NEXT: }
MERGE2-NEXT: }
MERGE2-NEXT: }
MERGE2-NEXT: }