projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d821719
)
NSWindows should only be created after you have an NSApplication
author
Enrico Granata
<egranata@apple.com>
Tue, 19 Feb 2013 00:39:59 +0000
(
00:39
+0000)
committer
Enrico Granata
<egranata@apple.com>
Tue, 19 Feb 2013 00:39:59 +0000
(
00:39
+0000)
llvm-svn: 175475
lldb/test/lang/objc/rdar-12408181/main.m
patch
|
blob
|
history
diff --git
a/lldb/test/lang/objc/rdar-12408181/main.m
b/lldb/test/lang/objc/rdar-12408181/main.m
index
c6ee013
..
89c43de
100644
(file)
--- a/
lldb/test/lang/objc/rdar-12408181/main.m
+++ b/
lldb/test/lang/objc/rdar-12408181/main.m
@@
-5,6
+5,7
@@
int main (int argc, char const *argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
+ [NSApplication sharedApplication];
NSWindow* window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,100,100) styleMask:NSBorderlessWindowMask backing:NSBackingStoreRetained defer:NO];
[window setCanHide:YES];
[pool release]; // Set breakpoint here.