[Lldb-commits] [PATCH] D29909: Break some more dependencies in lldbUtility
Zachary Turner via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 13 13:30:29 PST 2017
zturner created this revision.
Herald added a subscriber: mgorny.
This completely removes the dependency from `lldbUtility` -> `lldbCore` and `lldbTarget`. This was done with the following restructure:
1. `ProcessStructReader`: `Utility` -> `Target`
2. `ModuleCache`: `Utility` -> `Target`
3. `RegisterNumber`: `Utility` -> `Target`
4. `Endian`: `Host` -> `Utility`
5. `Flags`: `Core` -> `Utility`
This is enforced in the CMake by removing `lldbCore` and `lldbUtility` as linker inputs to both the `lldbUtility` target as well as the `UtilityTests` gtest target.
Unfortunately we are still requiring the dependency on `lldbHost`, which in turn depends on everything else, so for now we are still linking against `Core` and `Utility` transitively. After the dependency on `Host` is broken, this effort will be complete. But that is the only remaining step.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 83924 bytes
Desc: not available
More information about the lldb-commits