Hi, I have some problems with the debug build. I cannot use 'call F->viewCFG()', gdb says the function might be inlined. Did not help with make CXXFLAGS+="-O0 -g3". I also have problems setting breakpoints in gdb for methods. I expected this functionality in a Debug build, pleas give any info /Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100923/884d40e5/attachment.html>
On Sep 23, 2010, at 4:07 AM, Jonas Paulsson wrote:> Hi, > > I have some problems with the debug build. I cannot use 'call F->viewCFG()', gdb says the function might be inlined. Did not help with make CXXFLAGS+="-O0 -g3". > > I also have problems setting breakpoints in gdb for methods.Which compiler did you use to build llvm ? - Devang> > I expected this functionality in a Debug build, pleas give any info > > /Jonas > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100923/3b78842f/attachment.html>
On Sep 23, 2010, at 10:48 PM, Jonas Paulsson wrote:> gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) /JonasIn this case you're using debug info generated by gcc 4.3.2. - Devang [ cc'ing list for the benefit of others]> > From: Devang Patel [mailto:dpatel at apple.com] > Sent: Thursday, September 23, 2010 7:23 PM > To: Jonas Paulsson > Cc: 'llvmdev at cs.uiuc.edu' > Subject: Re: [LLVMdev] Debug build > > > On Sep 23, 2010, at 4:07 AM, Jonas Paulsson wrote: > >> Hi, >> >> I have some problems with the debug build. I cannot use 'call F->viewCFG()', gdb says the function might be inlined. Did not help with make CXXFLAGS+="-O0 -g3". >> >> I also have problems setting breakpoints in gdb for methods. > > Which compiler did you use to build llvm ? > - > Devang > >> >> I expected this functionality in a Debug build, pleas give any info >> >> /Jonas >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100924/5927cf4c/attachment.html>