[LLVMdev] LLVM ERROR: Cannot select

Duncan Sands baldrick at free.fr
Sun May 12 09:32:40 PDT 2013


Hi ZY,

> Is there a way to link or trace .s code to certain lines in the original source
> code?

if you compile with debug info, then yes (but it's a pain).  It's much easier
to identify which function the problem occurs in, then reduce the original Ada
code to eliminate other functions and code in this function until you have a
small testcase.

Ciao, Duncan.

>
> Thanks,
> ZY
>
>
> On Sun, May 12, 2013 at 12:01 PM, Duncan Sands <baldrick at free.fr
> <mailto:baldrick at free.fr>> wrote:
>
>     On 12/05/13 18:01, Zhiyuan Ren wrote:
>
>         Duncan,
>
>         Is there a way (switch) for embedding original source code in the
>         generated .s file?
>
>
>     No.
>
>     Ciao, Duncan.
>
>




More information about the llvm-dev mailing list