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
17 lines
379 B
Objective-C
17 lines
379 B
Objective-C
// RUN: %clang_cc1 -o - -emit-llvm -g %s | FileCheck %s
|
|
|
|
// This test verifies that variadic ObjC methods get the
|
|
// DW_TAG_unspecified_parameter marker.
|
|
|
|
@interface Foo
|
|
- (void) Bar: (int) n, ...;
|
|
@end
|
|
|
|
@implementation Foo
|
|
- (void) Bar: (int) n, ...
|
|
{
|
|
// CHECK: !DISubroutineType(types: ![[NUM:[0-9]+]])
|
|
// CHECK: ![[NUM]] = {{!{null, ![^,]*, ![^,]*, ![^,]*, null}}}
|
|
}
|
|
@end
|