[Lldb-commits] [PATCH] D60608: Make TestVSCode_step pass reliably

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Apr 21 06:03:51 PDT 2019


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL358847: Make TestVSCode_step pass reliably (authored by labath, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60608/new/

https://reviews.llvm.org/D60608

Files:
  lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/step/main.cpp


Index: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/step/main.cpp
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/step/main.cpp
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/step/main.cpp
@@ -1,5 +1,3 @@
-#include <thread>
-
 int function(int x) {
   if ((x % 2) == 0)
     return function(x-1) + x; // breakpoint 1
@@ -8,9 +6,5 @@
 }
 
 int main(int argc, char const *argv[]) {
-  std::thread thread1(function, 2);
-  std::thread thread2(function, 4);
-  thread1.join();
-  thread2.join();
-  return 0;
+  return function(2);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60608.195998.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190421/fe34bdd4/attachment.bin>


More information about the lldb-commits mailing list