[Lldb-commits] [PATCH] D47384: Remove dependency from Host to clang
Zachary Turner via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 25 11:35:55 PDT 2018
zturner created this revision.
zturner added reviewers: labath, davide.
Herald added a subscriber: mgorny.
The idea is to move the discovery of the clang resource directory into a more appropriate place, such as the clang expression parser. By continuing with this pattern we can isolate all clang interactions to the clang expression parser. There is a little edge case here in that there is a public enumeration which is used in conjunction with `SBHostOS` to get a generic LLDB directory. So as not to break the public API, I just special case this particular value of the enumeration and don't pass it through to Host, rather passing it through to the clang expression parser plugin.
I'm not able to test this on OSX, so I expect there may be some easy to fix up compilation errors. Davide, would you mind helping me out with that?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20193 bytes
Desc: not available
More information about the lldb-commits