diff options
| author | Pavel Labath <labath@google.com> | 2018-05-10 10:46:03 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2018-05-10 10:46:03 +0000 |
| commit | 19dd1a0ea6fed11b40cb9f83adbce17c04d569f3 (patch) | |
| tree | 9684b6fe9398b094dbc917e225c1f4f887d58db9 /lldb/source/Target | |
| parent | ce6ada41513eeff22e04b52d7965cdf02d8fe6fe (diff) | |
| download | bcm5719-llvm-19dd1a0ea6fed11b40cb9f83adbce17c04d569f3.tar.gz bcm5719-llvm-19dd1a0ea6fed11b40cb9f83adbce17c04d569f3.zip | |
Convert all RunShellCommand functions to use the Timeout class
this completes the Timeout migration started in r331880 with the
Predicate class.
llvm-svn: 331970
Diffstat (limited to 'lldb/source/Target')
| -rw-r--r-- | lldb/source/Target/Platform.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp index e5d1f47347f..be94f37aea9 100644 --- a/lldb/source/Target/Platform.cpp +++ b/lldb/source/Target/Platform.cpp @@ -1368,12 +1368,10 @@ lldb_private::Status Platform::RunShellCommand( // process to exit std::string *command_output, // Pass nullptr if you don't want the command output - uint32_t - timeout_sec) // Timeout in seconds to wait for shell program to finish -{ + const Timeout<std::micro> &timeout) { if (IsHost()) return Host::RunShellCommand(command, working_dir, status_ptr, signo_ptr, - command_output, timeout_sec); + command_output, timeout); else return Status("unimplemented"); } |

