[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / clang / test / CoverageMapping / comment.cpp
blobf8e4b4912e182f425baa32b05165bbe963f89b4e
1 // RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only %s | FileCheck %s
3 int f() {
4 int x = 0;
5 #include "Inputs/comment.h" /*
6 */
7 return x;
10 // CHECK: File 0, 3:9 -> 8:2 = #0
11 // CHECK-NEXT: Expansion,File 0, 5:10 -> 5:28 = #0
12 // CHECK-NEXT: Skipped,File 0, 6:1 -> 6:7 = 0
13 // CHECK-NEXT: File 1, 1:1 -> 7:1 = #0