[cfe-commits] r88856 - /cfe/trunk/test/CodeGenCXX/rtti.cpp

Daniel Dunbar daniel at zuster.org
Mon Nov 16 20:58:45 PST 2009


On Mon, Nov 16, 2009 at 11:38 AM, Mike Stump <mrs at apple.com> wrote:
> On Nov 16, 2009, at 11:22 AM, Mike Stump wrote:
>>
>> The problem is that I need to include the typeinfo header.  One way to
>> do this, would be to just dummy one up for testing, and include it.
>> I'll propose changing clang's lit.cfg file to include .ii files, and
>> then I can defeat the typeinfo header check by using a .ii file to
>> test with.  Sound good?
>
> Ah, don't need to do that, I just dummied up a header and used -I%S for it
> to be found and will try it that way.  I think that should work ok.  Where
> are the %S things documented?  I didn't see them in the lit manual, nor did
> I find them on a quick look through lit.

The actual format of the tests isn't really documented anywhere, this
is something on my TODO list. The right place for it is to update the
LLVM testing guide:
  http://llvm.org/docs/TestingGuide.html

 - Daniel




More information about the cfe-commits mailing list