[llvm-branch-commits] [cfe-branch] r119251 - /cfe/branches/Apple/whitney/test/CodeGenObjC/debug-info-fnname.m

Daniel Dunbar daniel at zuster.org
Mon Nov 15 13:46:10 PST 2010


Author: ddunbar
Date: Mon Nov 15 15:46:10 2010
New Revision: 119251

URL: http://llvm.org/viewvc/llvm-project?rev=119251&view=rev
Log:
Merge r118727:
--
Author: Devang Patel <dpatel at apple.com>
Date:   Wed Nov 10 22:19:57 2010 +0000

    test case for r118726.

Added:
    cfe/branches/Apple/whitney/test/CodeGenObjC/debug-info-fnname.m

Added: cfe/branches/Apple/whitney/test/CodeGenObjC/debug-info-fnname.m
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney/test/CodeGenObjC/debug-info-fnname.m?rev=119251&view=auto
==============================================================================
--- cfe/branches/Apple/whitney/test/CodeGenObjC/debug-info-fnname.m (added)
+++ cfe/branches/Apple/whitney/test/CodeGenObjC/debug-info-fnname.m Mon Nov 15 15:46:10 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 llvm-branch-commits mailing list