Move this back to a pid_t; this file is OSX only anyway, and the signedness of pid_t is actually a thing we want here

llvm-svn: 253364
This commit is contained in:
Enrico Granata 2015-11-17 19:35:26 +00:00
parent 3ec9e15ad4
commit be2e5fac68
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ using namespace lldb_utility;
- (NSUInteger) state;
- (BOOL) shutdownWithError:(NSError **)error;
- (NSUUID *) UDID;
- (lldb::pid_t) spawnWithPath:(NSString *)path options:(NSDictionary *)options terminationHandler:(void (^)(int status)) terminationHandler error:(NSError **)error;
- (pid_t) spawnWithPath:(NSString *)path options:(NSDictionary *)options terminationHandler:(void (^)(int status)) terminationHandler error:(NSError **)error;
@end
CoreSimulatorSupport::Process::Process (lldb::pid_t p) :
@ -661,7 +661,7 @@ CoreSimulatorSupport::Device::Spawn (ProcessLaunchInfo& launch_info)
NSError* nserror;
lldb::pid_t pid = [m_dev spawnWithPath: [NSString stringWithUTF8String: launch_info.GetExecutableFile().GetPath().c_str()]
pid_t pid = [m_dev spawnWithPath: [NSString stringWithUTF8String: launch_info.GetExecutableFile().GetPath().c_str()]
options: options
terminationHandler: nil
error: &nserror];