aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/coverage.cpp
blob: 3931b0c6ffb3459038091d8e2cc5712138021097 (plain) (blame)
1
2
3
4
5
6
7
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - -test-coverage -femit-coverage-notes | FileCheck %s

extern "C" void test_name1() {}
void test_name2() {}

// CHECK: !"0x2e\00test_name1\00test_name1\00\00{{[^,]+}}", {{.*}} DW_TAG_subprogram
// CHECK: !"0x2e\00test_name2\00test_name2\00_Z10test_name2v\00{{[^,]+}}", {{.*}} DW_TAG_subprogram