aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-12-01 12:05:00 +0000
committerPavel Labath <labath@google.com>2017-12-01 12:05:00 +0000
commit11edb4eeef299452b8e83d96e3c042b001ec803e (patch)
tree7c7889b70194fa5ee409dd080868f0ed82c43392 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parent4364513cb2d8306994a43699018e83a097f2efc4 (diff)
downloadllvm-11edb4eeef299452b8e83d96e3c042b001ec803e.tar.gz
llvm-11edb4eeef299452b8e83d96e3c042b001ec803e.tar.bz2
llvm-11edb4eeef299452b8e83d96e3c042b001ec803e.zip
Kill struct IOVEC
struct iovec is used as an interface to system (posix) api's. As such, we shouldn't be using it in os-independent code, and we shouldn't be defining our own iovec replacements. Fortunately, its usage was not very widespread, so the removal was very easy -- I simply moved a couple declarations into os-specific code. llvm-svn: 319536
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
index a10bd8606507..decd3afb13c1 100644
--- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
@@ -177,7 +177,7 @@ void PtraceDisplayBytes(int &req, void *data, size_t data_size) {
break;
}
case PTRACE_SETREGSET: {
- // Extract iov_base from data, which is a pointer to the struct IOVEC
+ // Extract iov_base from data, which is a pointer to the struct iovec
DisplayBytes(buf, *(void **)data, data_size);
LLDB_LOGV(log, "PTRACE_SETREGSET {0}", buf.GetData());
break;