[cfe-commits] r67204 - in /cfe/trunk/lib/Driver: Driver.cpp Makefile

Daniel Dunbar daniel at zuster.org
Wed Mar 18 14:06:57 PDT 2009


On Wed, Mar 18, 2009 at 1:37 PM, Mike Stump <mrs at apple.com> wrote:

> On Mar 18, 2009, at 12:05 PM, Daniel Dunbar wrote:
>
>> 1. Can tools/driver/driver.cpp pass this in instead of having inside the
>> lib. The version should be particular to the client not the library.
>>
>
> Not a big deal, but how would one get the library version information then?
>  In theory, we want the library to offer component bits for the version
> information, and default formatting with the ability of the client to
> override formatting as they see fit.  It doesn't make any sense for the
> client to tell the library what version the library is at.  The client can
> merely say how it wants the information formatted.
>

Ok, this makes sense to me.

 2. Not sure about this; but do you have enough Makefile foo that we could
>> automatically do this every time the clang-driver executable was linked (but
>> only then)?
>>
>
> I'm not sure I see a difference between the two.  Could you elaborate your
> concern?
>

I probably misunderstood what was happening; is this information getting
rebuilt on every svn update? Should we share this information with the
clang(-cc/frontend/pick your name) binary so that we can more easily
diagnose ccc/clang mismatches?

 - Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090318/7747ea2e/attachment.html>


More information about the cfe-commits mailing list