[cfe-dev] Driver questions

Konstantin Tokarev annulen at yandex.ru
Tue Jun 21 03:33:16 PDT 2011


Hi all,

I have have two questions regarding use of long-living Driver object:

1. Is it OK to call Driver::BuildCompilation and/or Driver::ExecuteCompilation with different Compilation objects in simultaneously running threads within single process?

2. Is there any way to save CPU cycles on constructing Compilation objects with argument lists which differ only in source file name (typical situation for building of big projects)?

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list