[llvm-commits] -fno-rtti for vmcore
Chris Lattner
clattner at apple.com
Mon Jan 25 10:08:07 PST 2010
On Jan 25, 2010, at 9:38 AM, Nick Lewycky wrote:
> Török Edwin wrote:
>> Hi,
>>
>> vmcore doesn't need rtti either, I think it was an overly
>> conservative
>> flag setting in the makefile at fault,
>> where REQUIRES_EH automatically turned on REQUIRES_RTTI (probably
>> because Makefiles didn't
>> use to properly specify REQUIRES_RTTI):
>> # If the library requires EH, it also requires RTTI.
>> REQUIRES_RTTI := 1
>>
>> But my gcc manual says that "Note that exception handling uses the
>> same
>> information, but it will
>> generate it as needed.". And in fact if I remove the REQUIRES_EH ->
>> REQUIRES_RTTI dependency,
>> and REQUIRES_RTTI from VMCore and unittests, bugpoint and everything
>> else still builds.
>> make check runs fine too.
>
> I don't have a solid answer to this, but when Chris was removing RTTI
> from everything, he asked me to tackle bugpoint on the grounds that it
> blocked the removal of RTTI from VMCore. I've written such a patch but
> want to debug it more before committing.
Yep, bugpoint won't link for me right now unless vmcore has rtti
info. Once Nick fixes this, we should definitely remove it.
-Chris
More information about the llvm-commits
mailing list