Where do DEBUG and EH label values originate from ? Where's their allocator ? I am looking at some code in X86CodeEmitter.cpp line 574, where a labels value is extraced from an operand. But dont know where to look in the frontend or middle end to find the LabelID allocator. If some kind person could point me in the right direction. Many thanks in advance, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090503/878e948d/attachment.html>
On Sun, May 3, 2009 at 3:41 PM, Aaron Gray <aaronngray.lists at googlemail.com> wrote:> Where do DEBUG and EH label values originate from ? > > Where's their allocator ? > > I am looking at some code in X86CodeEmitter.cpp line 574, where a labels > value is extraced from an operand. > > But dont know where to look in the frontend or middle end to find the > LabelID allocator.See how Intrinsic::dbg_* are lowered by SelectionDAGBuild.cpp and FastISel.cpp - Devang
>On Sun, May 3, 2009 at 3:41 PM, Aaron Gray ><aaronngray.lists at googlemail.com> wrote: >> Where do DEBUG and EH label values originate from ? >> >> Where's their allocator ? >> >> I am looking at some code in X86CodeEmitter.cpp line 574, where a labels >> value is extraced from an operand. >> >> But dont know where to look in the frontend or middle end to find the >> LabelID allocator. > >See how Intrinsic::dbg_* are lowered by SelectionDAGBuild.cpp and >FastISel.cppThanks Devang, I will study it when I get some time and the right head on, this is new territory for me. Aaron _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev