summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-11-17 19:35:26 +0000
committerEnrico Granata <egranata@apple.com>2015-11-17 19:35:26 +0000
commitbe2e5fac68ee5c548265e8cf9da2b73d47f2964c (patch)
tree163bd9c0af90cd7b25e2522b92e716612e6e6089
parent3ec9e15ad405c7fc1332c0a27438b5d24c07f364 (diff)
downloadbcm5719-llvm-be2e5fac68ee5c548265e8cf9da2b73d47f2964c.tar.gz
bcm5719-llvm-be2e5fac68ee5c548265e8cf9da2b73d47f2964c.zip
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
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm4
1 files 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];
OpenPOWER on IntegriCloud