[cfe-dev] AST matchers and thread safety

Jesper Eskilson jesper.eskilson at iar.com
Tue Sep 24 23:52:02 PDT 2013


On 09/24/2013 09:08 PM, Manuel Klimek wrote:
> If you have a large code base, I'd suggest to parallelize per 
> translation unit. Why do you think further parallelizing in-process 
> would help?
>

Yes, this is probably the most reasonable way to go. I've refactored my 
code now so that I can run all my matchers in a single call to 
ClangTool::run(), and that is (for the moment) fast enough.

Thanks for all the comments,

-- 
*Jesper Eskilson* /Development Engineer/
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
E-mail: jesper.eskilson at iar.com <mailto:jesper.eskilson at iar.com> 
Website: www.iar.com
<http://www.iar.com> Twitter: www.twitter.com/iarsystems 
<http://www.twitter.com/iarsystems>



More information about the cfe-dev mailing list