[Lldb-commits] [lldb] r154344 - in /lldb/branches/lldb-platform-work: include/lldb/Target/Platform.h source/Target/Platform.cpp

Johnny Chen johnny.chen at apple.com
Mon Apr 9 14:17:17 PDT 2012


Author: johnny
Date: Mon Apr  9 16:17:17 2012
New Revision: 154344

URL: http://llvm.org/viewvc/llvm-project?rev=154344&view=rev
Log:
Add trivial Platform::GetFile() method impl -- "unimplemented" -- for now.

Modified:
    lldb/branches/lldb-platform-work/include/lldb/Target/Platform.h
    lldb/branches/lldb-platform-work/source/Target/Platform.cpp

Modified: lldb/branches/lldb-platform-work/include/lldb/Target/Platform.h
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/lldb-platform-work/include/lldb/Target/Platform.h?rev=154344&r1=154343&r2=154344&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/include/lldb/Target/Platform.h (original)
+++ lldb/branches/lldb-platform-work/include/lldb/Target/Platform.h Mon Apr  9 16:17:17 2012
@@ -497,6 +497,12 @@
                  uint32_t uid = UINT32_MAX,
                  uint32_t gid = UINT32_MAX);
                 
+        virtual Error
+        GetFile (const FileSpec& source,
+                 const FileSpec& destination,
+                 uint32_t uid = UINT32_MAX,
+                 uint32_t gid = UINT32_MAX);
+                
     protected:
         bool m_is_host;
         // Set to true when we are able to actually set the OS version while 

Modified: lldb/branches/lldb-platform-work/source/Target/Platform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/lldb-platform-work/source/Target/Platform.cpp?rev=154344&r1=154343&r2=154344&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/source/Target/Platform.cpp (original)
+++ lldb/branches/lldb-platform-work/source/Target/Platform.cpp Mon Apr  9 16:17:17 2012
@@ -668,4 +668,14 @@
     return error;
 }
 
+Error
+Platform::GetFile (const FileSpec& source,
+                   const FileSpec& destination,
+                   uint32_t uid,
+                   uint32_t gid)
+{
+    Error error("unimplemented");
+    return error;
+}
+
 





More information about the lldb-commits mailing list