Author: Adrian Prantl
Date: 2021-07-29T16:23:13-07:00
New Revision: 648844fd69fa304a04aab2e39dcb114c89d078bf

URL: 
https://github.com/llvm/llvm-project/commit/648844fd69fa304a04aab2e39dcb114c89d078bf
DIFF: 
https://github.com/llvm/llvm-project/commit/648844fd69fa304a04aab2e39dcb114c89d078bf.diff

LOG: Make testcase more robust against codegen changes

Added: 
    

Modified: 
    lldb/test/API/commands/process/attach/main.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/process/attach/main.cpp 
b/lldb/test/API/commands/process/attach/main.cpp
index a43ed8eac5b2..b4ed48fade30 100644
--- a/lldb/test/API/commands/process/attach/main.cpp
+++ b/lldb/test/API/commands/process/attach/main.cpp
@@ -12,9 +12,8 @@ int main(int argc, char const *argv[]) {
     // Waiting to be attached by the debugger.
     temp = 0;
 
-    while (temp < 30) // Waiting to be attached...
-    {
-        std::this_thread::sleep_for(std::chrono::seconds(2));
+    while (temp < 30) {
+        std::this_thread::sleep_for(std::chrono::seconds(2)); // Waiting to be 
attached...
         temp++;
     }
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to