From be2e5fac68ee5c548265e8cf9da2b73d47f2964c Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 17 Nov 2015 19:35:26 +0000 Subject: 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 --- .../Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm index 669a023a9a5..7075de55252 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm @@ -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]; -- cgit v1.2.3