summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-07-01 21:22:11 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-07-01 21:22:11 +0000
commitd93c4a33395a7d9b960ec64348a07ba204d51017 (patch)
tree8cb726e00581c790adf105b4f2d8d4d8c1ca9efe /lldb/source/Host
parent8e9765352888379973132b3e6c2f47b3ba82d7ce (diff)
downloadbcm5719-llvm-d93c4a33395a7d9b960ec64348a07ba204d51017.tar.gz
bcm5719-llvm-d93c4a33395a7d9b960ec64348a07ba204d51017.zip
Fix typos.
llvm-svn: 212132
Diffstat (limited to 'lldb/source/Host')
-rw-r--r--lldb/source/Host/common/FileSpec.cpp4
-rw-r--r--lldb/source/Host/common/Host.cpp2
-rw-r--r--lldb/source/Host/linux/Host.cpp4
-rw-r--r--lldb/source/Host/macosx/Host.mm10
4 files changed, 10 insertions, 10 deletions
diff --git a/lldb/source/Host/common/FileSpec.cpp b/lldb/source/Host/common/FileSpec.cpp
index 9df9bf3a843..44eb3af118f 100644
--- a/lldb/source/Host/common/FileSpec.cpp
+++ b/lldb/source/Host/common/FileSpec.cpp
@@ -268,7 +268,7 @@ FileSpec::FileSpec(const FileSpec* rhs) :
}
//------------------------------------------------------------------
-// Virtual destrcuctor in case anyone inherits from this class.
+// Virtual destructor in case anyone inherits from this class.
//------------------------------------------------------------------
FileSpec::~FileSpec()
{
@@ -753,7 +753,7 @@ FileSpec::GetFileNameStrippingExtension () const
// Returns a shared pointer to a data buffer that contains all or
// part of the contents of a file. The data is memory mapped and
// will lazily page in data from the file as memory is accessed.
-// The data that is mappped will start "file_offset" bytes into the
+// The data that is mapped will start "file_offset" bytes into the
// file, and "file_size" bytes will be mapped. If "file_size" is
// greater than the number of bytes available in the file starting
// at "file_offset", the number of bytes will be appropriately
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index edd64c678b6..6b551d96800 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -1631,7 +1631,7 @@ Host::RunShellCommand (const char *command,
{
error.SetErrorString("timed out waiting for shell command to complete");
- // Kill the process since it didn't complete withint the timeout specified
+ // Kill the process since it didn't complete within the timeout specified
Kill (pid, SIGKILL);
// Wait for the monitor callback to get the message
timeout_time = TimeValue::Now();
diff --git a/lldb/source/Host/linux/Host.cpp b/lldb/source/Host/linux/Host.cpp
index 04696956f49..6c900063c85 100644
--- a/lldb/source/Host/linux/Host.cpp
+++ b/lldb/source/Host/linux/Host.cpp
@@ -352,7 +352,7 @@ GetProcessAndStatInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info, Proce
next_var += strlen(next_var) + 1;
}
- // Get the commond line used to start the process.
+ // Get the command line used to start the process.
buf_sp = ProcFileReader::ReadIntoDataBuffer(pid, "cmdline");
// Grab Arg0 first, if there is one.
@@ -532,7 +532,7 @@ Host::GetDistributionId ()
s_distribution_id.SetCString (id_string.c_str ());
if (log)
- log->Printf ("distribion id set to \"%s\"",
+ log->Printf ("distribution id set to \"%s\"",
s_distribution_id.GetCString ());
}
else
diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm
index 375f9e4fc1e..454de856e25 100644
--- a/lldb/source/Host/macosx/Host.mm
+++ b/lldb/source/Host/macosx/Host.mm
@@ -565,8 +565,8 @@ LaunchInNewTerminalWithAppleScript (const char *exe_path, ProcessLaunchInfo &lau
if (launch_info.GetFlags().Test (eLaunchFlagDisableASLR))
command.PutCString(" --disable-aslr");
- // We are launching on this host in a terminal. So compare the environemnt on the host
- // to what is supplied in the launch_info. Any items that aren't in the host environemnt
+ // We are launching on this host in a terminal. So compare the environment on the host
+ // to what is supplied in the launch_info. Any items that aren't in the host environment
// need to be sent to darwin-debug. If we send all environment entries, we might blow the
// max command line length, so we only send user modified entries.
const char **envp = launch_info.GetEnvironmentEntries().GetConstArgumentVector ();
@@ -660,7 +660,7 @@ LaunchInNewTerminalWithAppleScript (const char *exe_path, ProcessLaunchInfo &lau
{
pid = (intptr_t)accept_thread_result;
- // Wait for process to be stopped the the entry point by watching
+ // Wait for process to be stopped at the entry point by watching
// for the process status to be set to SSTOP which indicates it it
// SIGSTOP'ed at the entry point
WaitForProcessToSIGSTOP (pid, 5);
@@ -1496,7 +1496,7 @@ LaunchProcessXPC (const char *exe_path, ProcessLaunchInfo &launch_info, ::pid_t
return;
} else if (event == XPC_ERROR_CONNECTION_INVALID) {
// The service is invalid. Either the service name supplied to xpc_connection_create() is incorrect
- // or we (this process) have canceled the service; we can do any cleanup of appliation state at this point.
+ // or we (this process) have canceled the service; we can do any cleanup of application state at this point.
// printf("Service disconnected");
return;
} else {
@@ -1642,7 +1642,7 @@ Host::LaunchProcess (ProcessLaunchInfo &launch_info)
#if !defined(__arm__) && !defined(__arm64__)
return LaunchInNewTerminalWithAppleScript (exe_path, launch_info);
#else
- error.SetErrorString ("launching a processs in a new terminal is not supported on iOS devices");
+ error.SetErrorString ("launching a process in a new terminal is not supported on iOS devices");
return error;
#endif
}
OpenPOWER on IntegriCloud