LLDB mainline
Host.cpp File Reference
#include "lldb/Host/windows/AutoHandle.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)

Function Documentation

◆ GetExecutableForProcess()

bool GetExecutableForProcess ( const AutoHandle & handle,
std::string & path )
static

Definition at line 72 of file windows/Host.cpp.

References lldb_private::AutoHandle::get(), and PATH_MAX.

Referenced by GetProcessExecutableAndTriple().

◆ GetProcessExecutableAndTriple()

void GetProcessExecutableAndTriple ( const AutoHandle & handle,
ProcessInstanceInfo & process )
static

◆ GetTripleForProcess()