diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-12-03 18:28:12 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-12-03 18:28:12 +0000 |
| commit | 9c1b9f60ad21b36a172bba5235d56ccd2e97437a (patch) | |
| tree | 5e3d7f4fdbcb3e43c7d51827e66d7d1d85d88d83 /clang/test | |
| parent | f79351157959adde9a65d99075590a9db613a77b (diff) | |
| download | bcm5719-llvm-9c1b9f60ad21b36a172bba5235d56ccd2e97437a.tar.gz bcm5719-llvm-9c1b9f60ad21b36a172bba5235d56ccd2e97437a.zip | |
Fix PR14474: don't emit debug info for interface types in -gline-tables-only mode.
llvm-svn: 169138
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGenObjCXX/pr14474-gline-tables-only.mm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjCXX/pr14474-gline-tables-only.mm b/clang/test/CodeGenObjCXX/pr14474-gline-tables-only.mm new file mode 100644 index 00000000000..e927ab96f3c --- /dev/null +++ b/clang/test/CodeGenObjCXX/pr14474-gline-tables-only.mm @@ -0,0 +1,25 @@ +// PR 14474 +// RUN: %clang_cc1 -triple i386-apple-macosx10.6.0 -emit-llvm \ +// RUN: -gline-tables-only -x objective-c++ -o /dev/null %s + +typedef signed char BOOL; +@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator; +@protocol NSObject - (BOOL)isEqual:(id)object; +@end +@protocol NSCoding - (void)encodeWithCoder:(NSCoder *)aCoder; +@end +@interface NSObject <NSObject> { } +@end +@interface NSResponder : NSObject <NSCoding> { } +@end +@protocol NSValidatedUserInterfaceItem - (SEL)action; +@end +@protocol NSUserInterfaceValidations - (BOOL)validateUserInterfaceItem:(id +<NSValidatedUserInterfaceItem>)anItem; +@end +@interface NSRunningApplication : NSObject { } +@end +@interface NSApplication : NSResponder <NSUserInterfaceValidations> { } +@end +@implementation MockCrApp + (NSApplication*)sharedApplication { } +@end |

