diff options
author | Zachary Turner <zturner@google.com> | 2017-11-10 20:57:57 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-11-10 20:57:57 +0000 |
commit | 0f2ce11df7288c4cdae0db2f7211ec41446e6c22 (patch) | |
tree | dcb05a278762dcb31288cbbca159cbfdf9c6b44b /debuginfo-tests/blocks.m | |
parent | f59d0715b1581d627eab52e03f81dcb6c4f9c008 (diff) | |
download | bcm5719-llvm-0f2ce11df7288c4cdae0db2f7211ec41446e6c22.tar.gz bcm5719-llvm-0f2ce11df7288c4cdae0db2f7211ec41446e6c22.zip |
[debuginfo-tests] Make debuginfo-tests work in a standard configuration.
Previously, debuginfo-tests was expected to be checked out into
clang/test and then the tests would automatically run as part of
check-clang. This is not a standard workflow for handling
external projects, and it brings with it some serious drawbacks
such as the inability to depend on things other than clang, which
we will need going forward.
The goal of this patch is to migrate towards a more standard
workflow. To ease the transition for build bot maintainers,
this patch tries not to break the existing workflow, but instead
simply deprecate it to give maintainers a chance to update
the build infrastructure.
Differential Revision: https://reviews.llvm.org/D39605
llvm-svn: 317925
Diffstat (limited to 'debuginfo-tests/blocks.m')
-rw-r--r-- | debuginfo-tests/blocks.m | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/debuginfo-tests/blocks.m b/debuginfo-tests/blocks.m deleted file mode 100644 index 8e5a2121320..00000000000 --- a/debuginfo-tests/blocks.m +++ /dev/null @@ -1,43 +0,0 @@ -// RUN: %clang %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o -// RUN: %clang %target_itanium_abi_host_triple %t.o -o %t.out -framework Foundation -// RUN: %test_debuginfo %s %t.out - -// REQUIRES: system-darwin -// Radar 9279956 - -// DEBUGGER: break 31 -// DEBUGGER: r -// DEBUGGER: p m2 -// CHECK: ${{[0-9]}} = 1 -// DEBUGGER: p dbTransaction -// CHECK: ${{[0-9]}} = 0 -// DEBUGGER: p master -// CHECK: ${{[0-9]}} = 0 - -#include <Cocoa/Cocoa.h> - -extern void foo(void(^)(void)); - -@interface A:NSObject @end -@implementation A -- (void) helper { - int master = 0; - __block int m2 = 0; - __block int dbTransaction = 0; - int (^x)(void) = ^(void) { (void) self; - (void) master; - (void) dbTransaction; - m2++; - return m2; - }; - master = x(); -} -@end - -void foo(void(^x)(void)) {} - -int main() { - A *a = [A alloc]; - [a helper]; - return 0; -} |