From f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 23 Jul 2016 20:50:09 +0000 Subject: Vendor import of lldb release_39 branch r276489: https://llvm.org/svn/llvm-project/lldb/branches/release_39@276489 --- packages/Python/lldbsuite/test/macosx/universal/main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'packages/Python/lldbsuite/test/macosx/universal/main.c') diff --git a/packages/Python/lldbsuite/test/macosx/universal/main.c b/packages/Python/lldbsuite/test/macosx/universal/main.c index 9351c77f7146..3edab51b1f6a 100644 --- a/packages/Python/lldbsuite/test/macosx/universal/main.c +++ b/packages/Python/lldbsuite/test/macosx/universal/main.c @@ -1,7 +1,21 @@ #include +#include +#include + +void +call_me() +{ + sleep(1); +} + int main (int argc, char **argv) { printf ("Hello there!\n"); // Set break point at this line. + if (argc == 2 && strcmp(argv[1], "keep_waiting") == 0) + while (1) + { + call_me(); + } return 0; } -- cgit v1.2.3