zturner added a comment.

In D56232#1344652 <https://reviews.llvm.org/D56232#1344652>, @labath wrote:

> All of these functions seem identical to their PlatformPOSIX counterparts. Is 
> that right? And I seem to remember already seeing a lot of code duplication 
> between PlatformPOSIX and PlatformWindows.
>
> It sounds to me like we should create a new common base class for 
> PlatformWindows and PlatformPOSIX (`RemoteAwarePlatform`?), and put the 
> common code there.


Is that even necessary?  If a platform is not remote aware, `IsHost()` will 
always just return `true` by definition.  So we could put all of this in the 
existing `Platform` base class.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56232/new/

https://reviews.llvm.org/D56232



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to