[LLVMdev] what is the Line number of Phi Node with addr2line

Daniel Berlin dberlin at dberlin.org
Tue Apr 21 21:24:28 PDT 2015


Hey Eric,
phi nodes don't exist for real, so you can't.
The are removed by PHI elimination as part of codegen.

What are you trying to achieve?




On Tue, Apr 21, 2015 at 9:12 PM, Eric Lu <eirc.lew at gmail.com> wrote:
> Hi, all
>
>    When compiling a program with -g -O0, and if we have a PC, then with
> addr2line, we can get the line number of the instruction.
>
> My quesions are:  what is the result of Phi node instruction, can we get the
> similar results ?
>
> --
> Best Regards!
> Eric Lew
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list