[Lldb-commits] [PATCH] D31089: Remove FileSystem::GetFilePermissions and FileSystem::SetFilePermissions

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 17 12:46:01 PDT 2017


labath added a reviewer: jingham.
labath added inline comments.


================
Comment at: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp:813
+  auto perms =
+      static_cast<llvm::sys::fs::perms>(packet.GetHexMaxU32(false, UINT32_MAX));
   if (packet.GetChar() == ',') {
----------------
This doesn't seem right. At the very least I would expect to see a matching change in the client code (I assume llvm constants don't match whatever we have used here (?)).

We don't care much about protocol compatibility, but the apple guys might. If that is the case then we will need some encode/decode functions here.


https://reviews.llvm.org/D31089





More information about the lldb-commits mailing list