Update testcases after LLVM change r243774. Most of these had no need to check `tag:` field, but did so as a way of getting to the `name:` field. In a few cases I've converted the `tag:` checks to `arg:` or `CHECK-NOT: arg:`. llvm-svn: 243775
30 lines
904 B
Objective-C
30 lines
904 B
Objective-C
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -g %s -o - | FileCheck %s
|
|
// self and _cmd are marked as DW_AT_artificial.
|
|
// myarg is not marked as DW_AT_artificial.
|
|
|
|
@interface MyClass {
|
|
}
|
|
- (id)init:(int) myarg;
|
|
@end
|
|
|
|
@implementation MyClass
|
|
- (id) init:(int) myarg
|
|
{
|
|
return self;
|
|
}
|
|
@end
|
|
|
|
// CHECK: !DILocalVariable(name: "self", arg: 1,
|
|
// CHECK-SAME: scope: ![[CTOR:[0-9]+]]
|
|
// CHECK-NOT: line:
|
|
// CHECK-SAME: flags: DIFlagArtificial | DIFlagObjectPointer{{[,)]}}
|
|
// CHECK: !DILocalVariable(name: "_cmd", arg: 2,
|
|
// CHECK-SAME: scope: ![[CTOR]]
|
|
// CHECK-NOT: line:
|
|
// CHECK-SAME: flags: DIFlagArtificial{{[,)]}}
|
|
// CHECK: !DILocalVariable(name: "myarg", arg: 3,
|
|
// CHECK-SAME: scope: ![[CTOR]]
|
|
// CHECK-SAME: line: 11
|
|
// CHECK-NOT: flags:
|
|
// CHECK-SAME: ){{$}}
|