mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 18:56:05 +00:00

LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
10 lines
360 B
C++
10 lines
360 B
C++
// 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: !DISubprogram(name: "test_name1",
|
|
// CHECK-NOT: linkageName:
|
|
// CHECK-SAME: ){{$}}
|
|
// CHECK: !DISubprogram(name: "test_name2", linkageName: "_Z10test_name2v"
|