[Lldb-commits] [lldb] r155595 - /lldb/branches/lldb-platform-work/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp

Johnny Chen johnny.chen at apple.com
Wed Apr 25 15:47:59 PDT 2012


Author: johnny
Date: Wed Apr 25 17:47:59 2012
New Revision: 155595

URL: http://llvm.org/viewvc/llvm-project?rev=155595&view=rev
Log:
Add debug stmts.

Modified:
    lldb/branches/lldb-platform-work/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp

Modified: lldb/branches/lldb-platform-work/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/lldb-platform-work/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp?rev=155595&r1=155594&r2=155595&view=diff
==============================================================================
--- lldb/branches/lldb-platform-work/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp (original)
+++ lldb/branches/lldb-platform-work/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp Wed Apr 25 17:47:59 2012
@@ -246,6 +246,7 @@
         // read, write, read, write, ...
         // close
         // chown uid:gid dst
+        printf("[PutFile] Using block by block transfer....\n");
         File source_file(source, File::eOpenOptionRead, File::ePermissionsUserRW);
         if (!source_file.IsValid())
             return Error("unable to open source file");
@@ -366,6 +367,7 @@
         // read/write, read/write, read/write, ...
         // close src
         // close dst
+        printf("[GetFile] Using block by block transfer....\n");
         user_id_t fd_src = OpenFile(source, File::eOpenOptionRead, File::ePermissionsDefault);
         user_id_t fd_dst = Host::OpenFile(destination,
                                           File::eOpenOptionCanCreate|File::eOpenOptionWrite,





More information about the lldb-commits mailing list