[LLVMdev] LLVM native code and GDB -> Segmentation Fault

Duncan Sands baldrick at free.fr
Tue Nov 22 12:16:25 PST 2011


Hi Rafael, is it your program that dies with a segfault, or is it gdb that dies?

Ciao, Duncan.

> I have a problem with the generation of native code.
> I'm wanting to run a native code with GDB.
> When I run the program with "/lli program.bc/ -> OK,
> but if I do /"llc program.bc -o program.s/ " and then "/gcc -g program.s -o
> program.native/" results in an error when running under GDB.
>
> Error = Segmentation fault.
>
> How can I solve this problem?
>
> Bye
>
> --
> */Rafael Parizi/*
>
>
>
>
>
> _______________________________________________
> 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