[cfe-commits] TableGen: Goodbye RTTI!
sabre at nondot.org
Tue Oct 9 20:53:39 PDT 2012
On Oct 8, 2012, at 9:10 AM, Sean Silva <silvas at purdue.edu> wrote:
> This patch set removes the last traces of RTTI from TableGen (both in
> LLVM and Clang) and removes the crutch for enabling RTTI when building
This all sounds fine to me, if it's ok with Jakob, go for it!
> Every step of the way the generated .inc file are identical and the
> TableGen tests pass. I would appreciate if someone familiar with the
> build system double-checked patches 0006 and 0007 where I remove
> support from the corresponding Makefile and CMakeLists.txt for RTTI;
> it looked pretty obvious, but just in case there is something I don't
> understand about the build system.
> Patches 0001-0004 and 0007 are for LLVM. Patches 0005,0006 are for Clang.
> Patch descriptions:
> This patch sets up the Init hierarchy for LLVM-style RTTI.
> These two patches migrate LLVM's TableGen code to use LLVM-style RTTI.
> I found this mini Type hierarchy inside TableGen which uses RTTI.
> Since it is so small, move it to use LLVM-style RTTI in one fell
> Move to LLVM-style RTTI in Clang's TableGen.
> Remove build support for RTTI in Clang's TableGen.
> Remove build support for RTTI in LLVM's TableGen
> Feedback and review welcome.
> -- Sean Silva
More information about the cfe-commits