summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-11-10 22:19:57 +0000
committerDevang Patel <dpatel@apple.com>2010-11-10 22:19:57 +0000
commit82abab08123dab161f34070212ec872d7e1b071d (patch)
treef7072f6428f1aa34ce2a68c1c253592ad2478b0a
parent364bf042675882dbc039850a2d6124b5116521f0 (diff)
downloadbcm5719-llvm-82abab08123dab161f34070212ec872d7e1b071d.tar.gz
bcm5719-llvm-82abab08123dab161f34070212ec872d7e1b071d.zip
test case for r118726.
llvm-svn: 118727
-rw-r--r--clang/test/CodeGenObjC/debug-info-fnname.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-fnname.m b/clang/test/CodeGenObjC/debug-info-fnname.m
new file mode 100644
index 00000000000..f336d6b2687
--- /dev/null
+++ b/clang/test/CodeGenObjC/debug-info-fnname.m
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 -emit-llvm -Os -g %s -o - | FileCheck %s
+// Radar 8653152
+@interface A {
+}
+@end
+
+
+// CHECK: llvm.dbg.lv.-.A.title.
+@implementation A
+-(int) title {
+ int x = 1;
+ return x;
+}
+@end
+
OpenPOWER on IntegriCloud