File: symbolize.test

package info (click to toggle)
llvm-toolchain-9 1%3A9.0.1-16.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 882,388 kB
  • sloc: cpp: 4,167,636; ansic: 714,256; asm: 457,610; python: 155,927; objc: 65,094; sh: 42,856; lisp: 26,908; perl: 7,786; pascal: 7,722; makefile: 6,881; ml: 5,581; awk: 3,648; cs: 2,027; xml: 888; javascript: 381; ruby: 156
file content (24 lines) | stat: -rw-r--r-- 864 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
REQUIRES: x86_64-linux
RUN: sancov -symbolize -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s

CHECK: {
CHECK-NEXT:  "covered-points" : ["4e132b", "4e1472", "4e1520", "4e1553", "4e1586"],
CHECK-NEXT:  "binary-hash" : "BB3CDD5045AED83906F6ADCC1C4DAF7E2596A6B5",
CHECK-NEXT:  "point-symbol-info" : {
CHECK-NEXT:   "test/tools/sancov/Inputs/test.cpp" : {
CHECK-NEXT:     "bar(std::string)" : {
CHECK-NEXT:       "4e132b" : "12:0"
CHECK-NEXT:      },
CHECK-NEXT:      "main" : {
CHECK-NEXT:        "4e1472" : "14:0",
CHECK-NEXT:        "4e14c2" : "16:9",
CHECK-NEXT:        "4e1520" : "17:5",
CHECK-NEXT:        "4e1553" : "17:5",
CHECK-NEXT:        "4e1586" : "17:5",
CHECK-NEXT:        "4e1635" : "19:1",
CHECK-NEXT:        "4e1690" : "17:5"
CHECK-NEXT:      }
CHECK-NEXT:    }
CHECK-NEXT:  }
CHECK-NEXT:}