Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / sancov / symbolize.test
blob7d0ba3e470a156459e4436ee4c48771668dc2a12
1 REQUIRES: x86_64-linux
2 RUN: sancov -symbolize -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
4 CHECK: {
5 CHECK-NEXT:  "covered-points" : ["4e132b", "4e1472", "4e1520", "4e1553", "4e1586"],
6 CHECK-NEXT:  "binary-hash" : "BB3CDD5045AED83906F6ADCC1C4DAF7E2596A6B5",
7 CHECK-NEXT:  "point-symbol-info" : {
8 CHECK-NEXT:   "test/tools/sancov/Inputs/test.cpp" : {
9 CHECK-NEXT:     "bar(std::string)" : {
10 CHECK-NEXT:       "4e132b" : "12:0"
11 CHECK-NEXT:      },
12 CHECK-NEXT:      "main" : {
13 CHECK-NEXT:        "4e1472" : "14:0",
14 CHECK-NEXT:        "4e14c2" : "16:9",
15 CHECK-NEXT:        "4e1520" : "17:5",
16 CHECK-NEXT:        "4e1553" : "17:5",
17 CHECK-NEXT:        "4e1586" : "17:5",
18 CHECK-NEXT:        "4e1635" : "19:1",
19 CHECK-NEXT:        "4e1690" : "17:5"
20 CHECK-NEXT:      }
21 CHECK-NEXT:    }
22 CHECK-NEXT:  }
23 CHECK-NEXT:}