[LLVMdev] Origin of DEBUG and EH label values

Devang Patel devang.patel at gmail.com
Mon Jun 1 15:38:41 PDT 2009


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




More information about the llvm-dev mailing list