> I will try clang/utils/ABITest with -mregparm=3.

I had to patch it a bit to use it (attached), but it was worth it!
Thanks for the pointer.

It found a bug in llvm and I have emailed a patch to the llvm list. It
also found that clang was not handling empty structs correctly. The
attached patch has that bug fixed.

With the llvm and clang patches attached ABITest was unable to find a
bug in 100 runs.

Cheers,
Rafael

Attachment: test.patch
Description: Binary data

Attachment: clang.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to