[cfe-commits] r118727 - /cfe/trunk/test/CodeGenObjC/debug-info-fnname.m

Devang Patel dpatel at apple.com
Wed Nov 10 14:19:57 PST 2010


Author: dpatel
Date: Wed Nov 10 16:19:57 2010
New Revision: 118727

URL: http://llvm.org/viewvc/llvm-project?rev=118727&view=rev
Log:
test case for r118726.

Added:
    cfe/trunk/test/CodeGenObjC/debug-info-fnname.m

Added: cfe/trunk/test/CodeGenObjC/debug-info-fnname.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-fnname.m?rev=118727&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-fnname.m (added)
+++ cfe/trunk/test/CodeGenObjC/debug-info-fnname.m Wed Nov 10 16:19:57 2010
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 -emit-llvm -Os -g %s -o - | FileCheck %s
+// Radar 8653152
+ at interface A {
+}
+ at end
+
+
+// CHECK: llvm.dbg.lv.-.A.title.
+ at implementation A
+-(int) title {
+  int x = 1;
+  return x;
+}
+ at end
+





More information about the cfe-commits mailing list