diff options
author | Davide Italiano <davide@freebsd.org> | 2019-03-05 00:37:40 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2019-03-05 00:37:40 +0000 |
commit | e94add2f64cad2f488b67c13f7550034b4d55295 (patch) | |
tree | 59f324a5880c470df86106dc3cbb4db956fcfd87 | |
parent | 6ed191093d027da44b65bd22578063add2629075 (diff) | |
download | bcm5719-llvm-e94add2f64cad2f488b67c13f7550034b4d55295.tar.gz bcm5719-llvm-e94add2f64cad2f488b67c13f7550034b4d55295.zip |
[Host] Fix the build (and the modules build).
-> Add a missing include to find the base class.
-> Add a missing out-of-line declaration for a member function.
llvm-svn: 355353
-rw-r--r-- | lldb/include/lldb/Host/HostInfoBase.h | 3 | ||||
-rw-r--r-- | lldb/source/Host/posix/HostInfoPosix.cpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lldb/include/lldb/Host/HostInfoBase.h b/lldb/include/lldb/Host/HostInfoBase.h index a6fc2038ba4..f2370f1d00a 100644 --- a/lldb/include/lldb/Host/HostInfoBase.h +++ b/lldb/include/lldb/Host/HostInfoBase.h @@ -11,6 +11,7 @@ #include "lldb/Utility/ArchSpec.h" #include "lldb/Utility/FileSpec.h" +#include "lldb/Utility/UserIDResolver.h" #include "lldb/lldb-enumerations.h" #include "llvm/ADT/StringRef.h" @@ -98,6 +99,8 @@ public: //--------------------------------------------------------------------------- static ArchSpec GetAugmentedArchSpec(llvm::StringRef triple); + static UserIDResolver &GetUserIDResolver(); + protected: static bool ComputeSharedLibraryDirectory(FileSpec &file_spec); static bool ComputeSupportExeDirectory(FileSpec &file_spec); diff --git a/lldb/source/Host/posix/HostInfoPosix.cpp b/lldb/source/Host/posix/HostInfoPosix.cpp index 94bc7ebe542..45c8151c96e 100644 --- a/lldb/source/Host/posix/HostInfoPosix.cpp +++ b/lldb/source/Host/posix/HostInfoPosix.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "lldb/Host/posix/HostInfoPosix.h" +#include "lldb/Utility/UserIDResolver.h" #include "lldb/Utility/Log.h" #include "llvm/ADT/SmallString.h" |