[cfe-commits] r61231 - /cfe/trunk/lib/AST/ASTContext.cpp
Fariborz Jahanian
fjahanian at apple.com
Sat Dec 20 12:27:39 PST 2008
On Dec 20, 2008, at 11:49 AM, Daniel Dunbar wrote:
> On Fri, Dec 19, 2008 at 8:59 AM, Fariborz Jahanian <fjahanian at apple.com
> > wrote:
>> On Dec 18, 2008, at 5:43 PM, Daniel Dunbar wrote:
>>
>> Sure. These patches came because of dejagnu test failures. There
>> are still
>> more issues
>> that I am looking at. But tests will come first. Unfortunately,
>> encoding
>> mismatches are
>> hard to find because they cause silent runtime failures. And
>> dejagnu tests
>> use them
>> for other purposes than testing @encode.
>
> This is why I wrote the print-class-info.m, it uses the Objective-C
> runtime library to iterate over certain interfaces and print all their
> metadata information. I tried to put examples of every kind of
> construct in the classes we iterate over, so that we exercise all the
> encoding code. By comparing the output of this program to gcc, we get
> a pretty good idea that we are encoding things correctly.
Thanks for the info. I will take a look and add new test cases as need
be.
- Fariborz
>
>
>>
More information about the cfe-commits
mailing list