brintos

brintos / llvm-project-archived public Read only

0
0
Text · 597 B · 87cb6eb Raw
17 lines · c
1// RUN: llvm-cov show -instr-profile %S/Inputs/ifdef.profdata %S/Inputs/ifdef.covmapping -dump -path-equivalence=/tmp,%S %s > %t.out 2> %t.err.out2// RUN: FileCheck %s -input-file %t.out -check-prefix=LINE3// RUN: FileCheck %s -input-file %t.err.out -check-prefix=HIGHLIGHT4 5 6int main() {7  if (0) { // LINE: [[@LINE]]|{{ +}}1|8#if 0      // LINE-NEXT: [[@LINE]]|{{ +}}|9#endif     // LINE-NEXT: [[@LINE]]|{{ +}}|10  }11  return 0;12}13 14// HIGHLIGHT: Highlighted line [[@LINE-7]], 10 -> ?15// HIGHLIGHT-NEXT: Highlighted line [[@LINE-7]], 1 -> 116// HIGHLIGHT-NEXT: Highlighted line [[@LINE-6]], 1 -> 417