[cfe-dev] c-index-test?

罗勇刚(Yonggang Luo) luoyonggang at gmail.com
Fri Oct 16 17:25:36 PDT 2009


Yes, it's can be build!

2009/10/17, Ted Kremenek <kremenek at apple.com>:
> On Oct 16, 2009, at 10:39 AM, John Thompson wrote:
>
>> Question:  Why does this library need to be a shared library?  It
>> seems all the other libraries are not.
>
> Yes.  This library differs from the other libraries in that it vends a
> stable C API instead of an internal C++ API.  This shared library is
> intended be used as a component of other software that wishes to use
> Clang through a stable interface but not be directly exposed to
> Clang's internal implementation.
>
> We already have a precedent for a shared library in LLVM: lto.  I'm
> not certain if that builds on Windows or not.  If it doesn't, we can
> always disable building the CIndex shared library on Windows until
> someone cares to support it on that platform.
>
>>
>> The missing basename symbol is a problem.  I took a guess that it
>> returns a pointer to the base part of a file path (i.e. given "/path/
>> basename.ext", it will return a pointer to the "basename.ext" part),
>> but the test still fails.  I'll look into it more later today.
>
> Thanks!
>
>> What is this app for?
>
> The shared library is meant to service a general purpose, relatively
> stable C API (in evolution) for building applications on top of Clang
> that want to perform some kind of reasoning about source code without
> directly interacting with Clang's internals.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>

-- 
从我的移动设备发送

         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo




More information about the cfe-dev mailing list