[LLVMdev] adding a new member to basic block class

Bill Wendling isanbard at gmail.com
Tue Jan 13 12:06:43 PST 2009


On Tue, Jan 13, 2009 at 9:21 AM, abhishek Singh <abh.spark at gmail.com> wrote:
> Hi all,
> i am writing a llvm pass and want to add an extra member to basic block
> class.
> can i do it by changing class definition in basicblock.h??
> do i need to recompile complete llvm after changing this class??
>
Yes to both questions. But you should ask yourself 'why' and whether
there's another way that could be done.

-bw



More information about the llvm-dev mailing list