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:
parent
3ec9e15ad4
commit
be2e5fac68
|
|
@ -47,7 +47,7 @@ using namespace lldb_utility;
|
||||||
- (NSUInteger) state;
|
- (NSUInteger) state;
|
||||||
- (BOOL) shutdownWithError:(NSError **)error;
|
- (BOOL) shutdownWithError:(NSError **)error;
|
||||||
- (NSUUID *) UDID;
|
- (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
|
@end
|
||||||
|
|
||||||
CoreSimulatorSupport::Process::Process (lldb::pid_t p) :
|
CoreSimulatorSupport::Process::Process (lldb::pid_t p) :
|
||||||
|
|
@ -661,7 +661,7 @@ CoreSimulatorSupport::Device::Spawn (ProcessLaunchInfo& launch_info)
|
||||||
|
|
||||||
NSError* nserror;
|
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
|
options: options
|
||||||
terminationHandler: nil
|
terminationHandler: nil
|
||||||
error: &nserror];
|
error: &nserror];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue