brintos

brintos / llvm-project-archived public Read only

0
0
Text · 792 B · 8adb34b Raw
19 lines · c
1// RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name include-macros.c %s | FileCheck %s2 3#include "Inputs/macros.h"4 5void f1(void) {6  M2("a", "b");7}8 9// CHECK-LABEL: f1:10// CHECK-NEXT:   File 0, 5:15 -> 7:2 = #011// CHECK-NEXT:   Expansion,File 0, 6:3 -> 6:5 = #0 (Expanded file = 1)12// CHECK-NEXT:   File 1, 13:20 -> 13:50 = #013// CHECK-NEXT:   Expansion,File 1, 13:20 -> 13:22 = #0 (Expanded file = 2)14// CHECK-NEXT:   File 2, 7:20 -> 7:46 = #015// CHECK-NEXT:   Expansion,File 2, 7:33 -> 7:44 = #0 (Expanded file = 3)16// CHECK-NEXT:   File 3, 13:26 -> 13:34 = #017// CHECK-NEXT:   Expansion,File 3, 13:26 -> 13:33 = #0 (Expanded file = 4)18// CHECK-NEXT:   File 4, 3:17 -> 3:18 = #019