summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2015-11-05 18:49:03 +0000
committerChaoren Lin <chaorenl@google.com>2015-11-05 18:49:03 +0000
commitedd0e2639e2a73527a9f1afb3a829dbf2dbff95c (patch)
treea46f6ba4098216b0b0feecfdddf05e65e5a261fd
parent803cf14e5267584cfc72a204bf61c68272f3af48 (diff)
downloadbcm5719-llvm-edd0e2639e2a73527a9f1afb3a829dbf2dbff95c.tar.gz
bcm5719-llvm-edd0e2639e2a73527a9f1afb3a829dbf2dbff95c.zip
Use lldb::pid_t instead of pid_t.
Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14388 llvm-svn: 252183
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.h8
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm8
2 files changed, 8 insertions, 8 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.h b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.h
index a05c8e3177c..8393ea30490 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.h
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.h
@@ -36,7 +36,7 @@ namespace CoreSimulatorSupport
class Process
{
public:
- pid_t
+ lldb::pid_t
GetPID ()
{
return m_pid;
@@ -54,13 +54,13 @@ namespace CoreSimulatorSupport
}
private:
- Process (pid_t p);
+ Process (lldb::pid_t p);
Process(lldb_private::Error error);
- Process (pid_t p, lldb_private::Error error);
+ Process (lldb::pid_t p, lldb_private::Error error);
- pid_t m_pid;
+ lldb::pid_t m_pid;
lldb_private::Error m_error;
friend class Device;
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm
index be2a33a97ad..669a023a9a5 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm
@@ -47,10 +47,10 @@ using namespace lldb_utility;
- (NSUInteger) state;
- (BOOL) shutdownWithError:(NSError **)error;
- (NSUUID *) UDID;
-- (pid_t) spawnWithPath:(NSString *)path options:(NSDictionary *)options terminationHandler:(void (^)(int status)) terminationHandler error:(NSError **)error;
+- (lldb::pid_t) spawnWithPath:(NSString *)path options:(NSDictionary *)options terminationHandler:(void (^)(int status)) terminationHandler error:(NSError **)error;
@end
-CoreSimulatorSupport::Process::Process (pid_t p) :
+CoreSimulatorSupport::Process::Process (lldb::pid_t p) :
m_pid (p),
m_error ()
{
@@ -62,7 +62,7 @@ CoreSimulatorSupport::Process::Process(Error error) :
{
}
-CoreSimulatorSupport::Process::Process (pid_t p, Error error) :
+CoreSimulatorSupport::Process::Process (lldb::pid_t p, Error error) :
m_pid (p),
m_error (error)
{
@@ -661,7 +661,7 @@ CoreSimulatorSupport::Device::Spawn (ProcessLaunchInfo& launch_info)
NSError* nserror;
- pid_t pid = [m_dev spawnWithPath: [NSString stringWithUTF8String: launch_info.GetExecutableFile().GetPath().c_str()]
+ lldb::pid_t pid = [m_dev spawnWithPath: [NSString stringWithUTF8String: launch_info.GetExecutableFile().GetPath().c_str()]
options: options
terminationHandler: nil
error: &nserror];
OpenPOWER on IntegriCloud