|
LLDB mainline
|
#include "lldb/Host/windows/AutoHandle.h"#include "lldb/Host/windows/PathUtils.h"#include "lldb/Host/windows/windows.h"#include <cstdio>#include "lldb/Host/FileSystem.h"#include "lldb/Host/Host.h"#include "lldb/Host/HostInfo.h"#include "lldb/Host/ProcessLaunchInfo.h"#include "lldb/Utility/DataBufferHeap.h"#include "lldb/Utility/DataExtractor.h"#include "lldb/Utility/Log.h"#include "lldb/Utility/ProcessInfo.h"#include "lldb/Utility/Status.h"#include "lldb/Utility/StreamString.h"#include "lldb/Utility/StructuredData.h"#include "llvm/ADT/StringRef.h"#include "llvm/Support/ConvertUTF.h"#include <tlhelp32.h>Go to the source code of this file.
Functions | |
| static bool | GetTripleForProcess (const FileSpec &executable, llvm::Triple &triple) |
| static bool | GetExecutableForProcess (const AutoHandle &handle, std::string &path) |
| static void | GetProcessExecutableAndTriple (const AutoHandle &handle, ProcessInstanceInfo &process) |
| static HANDLE | CreateProcessSnapshot () |
|
static |
Definition at line 147 of file windows/Host.cpp.
|
static |
Definition at line 73 of file windows/Host.cpp.
References lldb_private::AutoHandle::get(), PATH_MAX, and lldb_private::StripExtendedLengthPrefix().
Referenced by GetProcessExecutableAndTriple().
|
static |
Definition at line 88 of file windows/Host.cpp.
References GetExecutableForProcess(), GetTripleForProcess(), lldb_private::ProcessInfo::SetArchitecture(), and lldb_private::ProcessInfo::SetExecutableFile().
Definition at line 37 of file windows/Host.cpp.
References lldb_private::File::eOpenOptionReadOnly, lldb_private::FileSystem::Instance(), lldb_private::FileSystem::Open(), lldb_private::File::Read(), and lldb_private::File::SeekFromStart().
Referenced by GetProcessExecutableAndTriple().