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?? thanks alot, Abhishek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090113/5cd918d3/attachment.html>
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