[Lldb-commits] [lldb] 648844f - Make testcase more robust against codegen changes
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 29 16:23:23 PDT 2021
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++;
}
More information about the lldb-commits
mailing list