[LLVMdev] Error: Program contains no debugging information!
Chris Lattner
sabre at nondot.org
Wed Aug 4 21:56:58 PDT 2004
On Wed, 4 Aug 2004, Frank Liu wrote:
> I have a question about using lldm-db. I compiled a simple
> program using "llvmgcc -g" and loaded the resulting .bc
> file into llvm-db, but when I tried to set a breakpoint by
> "b main", it complained "Error: Program contains no
> debugging information!". Is there anything obvious that I
> did wrong here? What do I need to do to produce debugging
> info in the .bc file so that I can set a breakpoint in the
> debugger? Any help would be appreciated!
Unfortunately, the C/C++ front-ends do not generate debug information yet.
Sorry, but this is a major unimplemented feature so far.
-Chris
--
http://llvm.cs.uiuc.edu/
http://nondot.org/sabre/
More information about the llvm-dev
mailing list