Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / sancov / symbolize.test
blobacf58ae1171238b419bb17756de4a289923aad09
1 REQUIRES: x86-registered-target && host-byteorder-little-endian
2 RUN: sancov -symbolize -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefixes=CHECK,STRIP
3 RUN: sancov -symbolize %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefixes=CHECK,NOSTRIP
5 CHECK: {
6 CHECK-NEXT:  "covered-points": [
7 CHECK-NEXT:    "4e132b",
8 CHECK-NEXT:    "4e1472",
9 CHECK-NEXT:    "4e1520",
10 CHECK-NEXT:    "4e1553",
11 CHECK-NEXT:    "4e1586"
12 CHECK-NEXT:  ],
13 CHECK-NEXT:  "binary-hash": "BB3CDD5045AED83906F6ADCC1C4DAF7E2596A6B5",
14 CHECK-NEXT:  "point-symbol-info": {
15 STRIP-NEXT:    "test/tools/sancov/Inputs/test.cpp": {
16 NOSTRIP-NEXT:  "/usr/local/google/home/aizatsky/src/llvm/test/tools/sancov/Inputs/test.cpp": {
17 CHECK-NEXT:      "bar(std::string)": {
18 CHECK-NEXT:        "4e132b": "12:0"
19 CHECK-NEXT:      },
20 CHECK-NEXT:      "main": {
21 CHECK-NEXT:        "4e1472": "14:0",
22 CHECK-NEXT:        "4e14c2": "16:9",
23 CHECK-NEXT:        "4e1520": "17:5",
24 CHECK-NEXT:        "4e1553": "17:5",
25 CHECK-NEXT:        "4e1586": "17:5",
26 CHECK-NEXT:        "4e1635": "19:1",
27 CHECK-NEXT:        "4e1690": "17:5"
28 CHECK-NEXT:      }
29 CHECK-NEXT:    }
30 CHECK-NEXT:  }
31 CHECK-NEXT:}