diff options
| author | Pavel Labath <labath@google.com> | 2017-07-18 13:14:01 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-07-18 13:14:01 +0000 |
| commit | b6dbe9a99c35b5dd101d45f220f95f6e9e85d15e (patch) | |
| tree | a9522e28f97a4f14f49be49f0249141c23079fca /lldb/source/Plugins/Process/Linux/NativeThreadLinux.h | |
| parent | 30fc523984dec81232167e07d8fc25c92e8562f7 (diff) | |
| download | llvm-b6dbe9a99c35b5dd101d45f220f95f6e9e85d15e.tar.gz llvm-b6dbe9a99c35b5dd101d45f220f95f6e9e85d15e.tar.bz2 llvm-b6dbe9a99c35b5dd101d45f220f95f6e9e85d15e.zip | |
Clean up lldb-types.h
Summary:
It defined a couple of types (condition_t) which we don't use anymore,
as we have c++11 goodies now. I remove these definitions.
Also it unnecessarily included a couple of headers which weren't
necessary for it's operation. I remove these, and place the includes in
the relevant files (usually .cpp, usually in Host code) which use them.
This allows us to reduce namespace pollution in most of the lldb files
which don't need the OS-specific definitions.
Reviewers: zturner, jingham
Subscribers: ki.stfu, lldb-commits
Differential Revision: https://reviews.llvm.org/D35113
llvm-svn: 308304
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.h')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeThreadLinux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h index 54bec3d7750c..6ae87feffcda 100644 --- a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h +++ b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h @@ -14,6 +14,7 @@ #include "lldb/Host/common/NativeThreadProtocol.h" #include "lldb/lldb-private-forward.h" +#include <csignal> #include <map> #include <memory> #include <string> |
