[LLVMdev] Debugging Status on x86?
jasonwkim at google.com
Thu Aug 5 18:42:22 PDT 2010
Hi Eli, thanks for your response.
AFAIK, Removing -g from the second call to gcc does not seem to do anything.
The generated executable shows the same behavior under gdb.
On Thu, Aug 5, 2010 at 6:31 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Thu, Aug 5, 2010 at 6:22 PM, Jason Kim <jasonwkim at google.com> wrote:
> > Hi everyone,
> > I was under the impression that debugging support on llvm-gcc-4.2.1 +
> > llvm-2.7 was pretty complete (at least on x86 linux), but ran into a
> > First off, are there any docs that discuss the current state, in so far
> > DWARF support is concerned?
> > The behavior I am seeing is the following:
> > llvm-gcc -g hello.c -o hello
> > produces a working executable with apparently complete debugging support.
> > (stepping
> > However,
> > llvm-gcc -g -c -emit-llvm hello.c -o hello.bc
> > llc hello.bc -o hello.s
> > llvm-gcc -g hello.s -o hello
> Using -g at both levels leads to issues... gcc is trying to add
> debugging info to assembly with debugging info.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev