[Lldb-commits] [PATCH] D58167: Refactor user/group name resolving code

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 26 09:21:00 PST 2019


zturner added inline comments.


================
Comment at: include/lldb/Host/UserIDResolver.h:9
+
+#ifndef LLDB_HOST_USERIDRESOLVER_H
+#define LLDB_HOST_USERIDRESOLVER_H
----------------
I wonder if this class should actually be in Host.  While some specific implementation of it might be host-dependent, the interface itself is not.  I kind of envision at some point in the future having a target that contains all of our core interfaces that someone can include and re-implement small pieces of the debugger without having to bring in the entire thing.  This is also nice from a mocking / unittesting perspective.

So I think this would be better if it were in Utility (or some other top-level library such as Interfaces)


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

https://reviews.llvm.org/D58167





More information about the lldb-commits mailing list