[llvm-commits] [llvm] r64845 - /llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m

Bill Wendling isanbard at gmail.com
Tue Feb 17 15:06:40 PST 2009


Author: void
Date: Tue Feb 17 17:06:40 2009
New Revision: 64845

URL: http://llvm.org/viewvc/llvm-project?rev=64845&view=rev
Log:
--- Merging (from foreign repository) r64838 into '.':
A    test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m

And now, not so elegant, test case...

Added:
    llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m

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

==============================================================================
--- llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m (added)
+++ llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m Tue Feb 17 17:06:40 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