[cfe-dev] What is the status of clang-based service architecture?

Douglas Gregor dgregor at apple.com
Fri Dec 7 11:15:22 PST 2012


On Dec 7, 2012, at 12:44 AM, Manuel Klimek <klimek at google.com> wrote:

> On Thu, Dec 6, 2012 at 6:30 PM, Kosztka Imre Dávid <kosztkaid at gmail.com> wrote:
> :(
> 
> Best idea ever! I would like to contribute to it. Who else is interested?
> 
> The first step is to make clang (more) thread-safe:
> For example, the file interface is not thread-safe; this requires changes to the file system / path interface to allow keeping state of the working directory, and doing all relative file operations based on that state (on unix fd* versions of the unix file api). This requires an objectification of the file interface first, which requires some more design work.

Right. We need a virtual file system that can be shared among the various Clang instances executing within the service. All of Clang's filesystem operations should go through that virtual file system, which (obviously) needs to provide thread-safe access.

	- Doug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121207/053e6e47/attachment.html>


More information about the cfe-dev mailing list