2014-01-15 03:35:09 +08:00
|
|
|
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - -test-coverage -femit-coverage-notes | FileCheck %s
|
2013-03-20 09:38:16 +08:00
|
|
|
|
|
|
|
extern "C" void test_name1() {}
|
|
|
|
void test_name2() {}
|
|
|
|
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DISubprogram(name: "test_name1",
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-NOT: linkageName:
|
|
|
|
// CHECK-SAME: ){{$}}
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DISubprogram(name: "test_name2", linkageName: "_Z10test_name2v"
|