diff options
| author | Pavel Labath <labath@google.com> | 2017-12-01 12:05:00 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-12-01 12:05:00 +0000 |
| commit | 11edb4eeef299452b8e83d96e3c042b001ec803e (patch) | |
| tree | 7c7889b70194fa5ee409dd080868f0ed82c43392 /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h | |
| parent | 4364513cb2d8306994a43699018e83a097f2efc4 (diff) | |
| download | bcm5719-llvm-11edb4eeef299452b8e83d96e3c042b001ec803e.tar.gz bcm5719-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/NativeRegisterContextLinux_x86_64.h')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h index 68ffeed23e9..9dcf82f50a4 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h @@ -15,6 +15,7 @@ #include "Plugins/Process/Linux/NativeRegisterContextLinux.h" #include "Plugins/Process/Utility/RegisterContext_x86.h" #include "Plugins/Process/Utility/lldb-x86-register-enums.h" +#include <sys/uio.h> namespace lldb_private { namespace process_linux { @@ -109,7 +110,7 @@ private: // Private member variables. mutable XStateType m_xstate_type; FPR m_fpr; // Extended States Area, named FPR for historical reasons. - IOVEC m_iovec; + struct iovec m_iovec; YMM m_ymm_set; MPX m_mpx_set; RegInfo m_reg_info; |

