[cfe-commits] [PATCH] Refactoring of vtable and VTT builders
pcollingbourne at pathscale.com
Mon Jun 13 12:41:07 PDT 2011
This patch refactors the vtable and VTT builders to provide a
backend-neutral interface to the builders in the AST library, which
CodeGen uses to build vtables and VTTs in LLVM. No functionality
The main goal of this patch is to allow developers of backends
targeting non-LLVM intermediate representations to reuse the vtable
and VTT builders (full disclosure: PathScale is working on a WHIRL
backend for clang).
>From the point of view of the clang project itself, this patch enables
easier unit testing of the vtable and VTT builders (the unit tests
themselves are left for future work).
(I have doubts over whether AST is the right library for this code.
Perhaps a new library, say "Backend", should be created?)
OK to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 289098 bytes
Desc: not available
More information about the cfe-commits