[llvm-commits] [llvm] r64838 - /llvm/trunk/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m

Devang Patel dpatel at apple.com
Tue Feb 17 14:48:18 PST 2009


Author: dpatel
Date: Tue Feb 17 16:48:18 2009
New Revision: 64838

URL: http://llvm.org/viewvc/llvm-project?rev=64838&view=rev
Log:
And now, not so elegant, test case...

Added:
    llvm/trunk/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m

Added: llvm/trunk/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m?rev=64838&view=auto

==============================================================================
--- llvm/trunk/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m (added)
+++ llvm/trunk/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m Tue Feb 17 16:48:18 2009
@@ -0,0 +1,13 @@
+// RUN: %llvmgcc -x objective-c -S %s -g --emit-llvm -o - | grep "dbg.compile_unit =" | grep "null, i32"
+// Last parameter represent i32 runtime version id. The previous paramenter
+// encodes command line flags when certain env. variables are set. In this
+// example it is the only compile_unit parameter that is null. This test case
+// tests existence of new additional compile_unit parameter to encode 
+// Objective-C runtime version number.
+
+ at interface foo
+ at end
+ at implementation foo
+ at end
+
+void fn(foo *f) {}





More information about the llvm-commits mailing list