#include "PlatformiOSSimulatorCoreSimulatorSupport.h"
#include <CoreFoundation/CoreFoundation.h>
#include <Foundation/Foundation.h>
#include "lldb/Host/PseudoTerminal.h"
#include "lldb/Host/FileAction.h"
#include "llvm/ADT/StringRef.h"
Go to the source code of this file.
◆ kSimDeviceBootPersist
#define kSimDeviceBootPersist |
◆ kSimDeviceSpawnArguments
#define kSimDeviceSpawnArguments |
◆ kSimDeviceSpawnEnvironment
#define kSimDeviceSpawnEnvironment |
◆ kSimDeviceSpawnStandalone
#define kSimDeviceSpawnStandalone @"standalone" |
◆ kSimDeviceSpawnStderr
#define kSimDeviceSpawnStderr |
◆ kSimDeviceSpawnStdin
#define kSimDeviceSpawnStdin @"stdin" /* An NSNumber corresponding to a fd */ |
◆ kSimDeviceSpawnStdout
#define kSimDeviceSpawnStdout |
◆ kSimDeviceSpawnWaitForDebugger
#define kSimDeviceSpawnWaitForDebugger @"wait_for_debugger" /* An NSNumber (bool) */ |
◆ HandleFileAction()
Definition at line 378 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References lldb_private::Status::AsCString(), lldb_private::FileAction::eFileActionClose, lldb_private::FileAction::eFileActionDuplicate, lldb_private::FileAction::eFileActionNone, lldb_private::FileAction::eFileActionOpen, lldb_private::File::eOpenOptionReadOnly, lldb_private::File::eOpenOptionReadWrite, lldb_private::File::eOpenOptionWriteOnly, error(), lldb_private::FileAction::GetAction(), lldb_private::FileAction::GetActionArgument(), lldb_private::ProcessLaunchInfo::GetFileActionForFD(), lldb_private::FileAction::GetFileSpec(), lldb_private::FileSpec::GetPath(), lldb_private::PseudoTerminal::GetPrimaryFileDescriptor(), lldb_private::ProcessLaunchInfo::GetPTY(), lldb_private::PseudoTerminal::GetSecondaryFileDescriptor(), lldb_private::PseudoTerminal::GetSecondaryName(), lldb_private::PseudoTerminal::invalid_fd, lldb_private::PseudoTerminal::OpenSecondary(), S_IRUSR, S_IWUSR, and lldb_private::Status::SetErrorToErrno().
Referenced by CoreSimulatorSupport::Device::Spawn().