diff --git a/clang/test/CodeGenObjC/debug-info-block-helper.m b/clang/test/CodeGenObjC/debug-info-block-helper.m --- a/clang/test/CodeGenObjC/debug-info-block-helper.m +++ b/clang/test/CodeGenObjC/debug-info-block-helper.m @@ -12,17 +12,17 @@ @interface A:NSObject @end @implementation A - (void) helper { - int master = 0; + int controller = 0; __block int m2 = 0; __block int dbTransaction = 0; int (^x)(void) = ^(void) { (void) self; - (void) master; + (void) controller; (void) dbTransaction; m2++; return m2; }; - master = x(); + controller = x(); } @end diff --git a/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m b/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m --- a/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m +++ b/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m @@ -11,7 +11,7 @@ // CHECK: ${{[0-9]}} = 1 // DEBUGGER: p dbTransaction // CHECK: ${{[0-9]}} = 0 -// DEBUGGER: p master +// DEBUGGER: p controller // CHECK: ${{[0-9]}} = 0 #include @@ -21,16 +21,16 @@ @interface A:NSObject @end @implementation A - (void) helper { - int master = 0; + int controller = 0; __block int m2 = 0; __block int dbTransaction = 0; int (^x)(void) = ^(void) { (void) self; - (void) master; + (void) controller; (void) dbTransaction; m2++; return m2; }; - master = x(); + controller = x(); } @end