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
21 lines
385 B
C++
21 lines
385 B
C++
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -g -S -emit-llvm -o - | FileCheck %s
|
|
|
|
struct A {
|
|
virtual void f();
|
|
};
|
|
|
|
struct B {
|
|
virtual void f();
|
|
};
|
|
|
|
struct C : A, B {
|
|
virtual void f();
|
|
};
|
|
|
|
void C::f() { }
|
|
|
|
// CHECK: !DISubprogram(linkageName: "_ZThn{{[48]}}_N1C1fEv"
|
|
// CHECK-SAME: line: 15
|
|
// CHECK-SAME: isDefinition: true
|
|
// CHECK-SAME: ){{$}}
|