[cfe-dev] Clang Configuration Manager

Renato Golin via cfe-dev cfe-dev at lists.llvm.org
Fri Oct 16 07:01:09 PDT 2015


On 16 October 2015 at 02:40, Cornel Punga <cornel.punga at gmail.com> wrote:
> I started implementing the first step. I decided to implement a distinct
> tool(from what Clang does) that gathers system information. This is because
> I didn't find the Clang code that does this(searched for a pointer in docs),

It's not in Clang, but LLVM. Check llvm-src/lib/Support/Host.cpp.


> also I think it is easier to write such a tool in Python instead of
> modifying the Clang code to output that info. Anyway, my decision is
> debatable, what do you think about it?

Python is ok for prototypes. Once the logic is agreed between all
parties, we can move inside Clang, then it will have to be C++.


> Please, keep in mind that I am not a Python expert so, may be, the skeleton
> I wrote is not as good as you hope(want). Any support and advice is
> welcomed.

Me neither. We'll rely on the community for cross-checking that. :)

cheers,
--renato



More information about the cfe-dev mailing list