aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-05-18 20:51:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-05-18 20:51:58 +0000
commitd86d3361924a89d6c67ddbb3a2307af4008889ab (patch)
tree88b8c984fc3adcac1c4cec6cccc67cc5cf8a1268 /test/CodeGenObjC
parentd308e6201afd3a8a198c52ba034d35ed19d4bafe (diff)
Debug info: Initialize runtime language field correctly for Objective-C
interface types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC')
-rw-r--r--test/CodeGenObjC/debug-info.m10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/CodeGenObjC/debug-info.m b/test/CodeGenObjC/debug-info.m
index c4b9426145..9c461ba68f 100644
--- a/test/CodeGenObjC/debug-info.m
+++ b/test/CodeGenObjC/debug-info.m
@@ -2,9 +2,17 @@
// RUN: grep '@.str3 = internal constant \[8 x i8\] c"-\[A m0\]\\00"' %t &&
// RUN: grep '@.str4 = internal constant \[9 x i8\] c"\\01-\[A m0\]\\00"' %t &&
// RUN: grep '@llvm.dbg.subprogram = .* @.str3, .* @.str3, .* @.str4,' %t &&
+// RUN: grep '@llvm.dbg.composite.* = .* i32 15, i64 0, i64 8, .* i32 16' %t &&
// RUN: true
+
+
+
+
+
+
+
@interface A @end
-@implementation A
+@implementation A // Line 15
-(void) m0 {}
@end