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
256 B
C
10 lines
256 B
C
// RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -g %s | FileCheck %s
|
|
|
|
int somefunc(char *x, int y, double z) {
|
|
|
|
// CHECK: !DISubroutineType(types: ![[NUM:[0-9]+]])
|
|
// CHECK: ![[NUM]] = {{!{![^,]*, ![^,]*, ![^,]*, ![^,]*}}}
|
|
|
|
return y;
|
|
}
|