diff options
| -rw-r--r-- | lldb/test/types/AbstractBase.py | 1 | ||||
| -rw-r--r-- | lldb/test/types/basic_type.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lldb/test/types/AbstractBase.py b/lldb/test/types/AbstractBase.py index 4f7b2d9a453..82201253a80 100644 --- a/lldb/test/types/AbstractBase.py +++ b/lldb/test/types/AbstractBase.py @@ -57,6 +57,7 @@ class GenericTester(TestBase): self.build_and_run_with_source_atoms_expr(source, atoms, expr=True, dsym=dsym, bc=bc, qd=qd) def build_and_run_with_source_atoms_expr(self, source, atoms, expr, dsym=True, bc=False, qd=False): + # See also Makefile and basic_type.cpp:177. if bc: d = {'CXX_SOURCES': source, 'EXE': self.exe_name, 'CFLAGS_EXTRAS': '-DTEST_BLOCK_CAPTURED_VARS'} else: diff --git a/lldb/test/types/basic_type.cpp b/lldb/test/types/basic_type.cpp index 818c0c5e33b..1651815fa0c 100644 --- a/lldb/test/types/basic_type.cpp +++ b/lldb/test/types/basic_type.cpp @@ -175,8 +175,6 @@ main (int argc, char const *argv[]) puts("About to exit, break here to check values..."); // Here is the line we will break on to check variables. #ifdef TEST_BLOCK_CAPTURED_VARS -#include <dispatch/dispatch.h> - void (^myBlock)() = ^() { printf ("%s: a = '" T_PRINTF_FORMAT "'\n", T_CSTR, a); printf ("%s*: %p => *a_ptr = '" T_PRINTF_FORMAT "'\n", T_CSTR, a_ptr, *a_ptr); |

