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