[lldb-dev] about the error:unable to restore file position to 0x00000ab0 for section __DWARF.__debug_info

Greg Clayton gclayton at apple.com
Wed Dec 7 11:04:05 PST 2011


This is the problems that are caused by the "one definition rule" where in every .o file you will get an inline copy of every type duplicated in your DWARF. We do know about this issue and are actively working on a solution.

Greg Clayton

On Dec 6, 2011, at 1:53 AM, DuYvonne wrote:

> Hi, Greg
> Thanks very much for your time.
> The flag -flimit-debug-info does not solve my problem.
> I checked the .o files for my project that every .o file is very large (among 3.5MB to 6MB). I think this is the cause for my problem. I included too many header files in the precompile headers. There seems no way to let me strip the dup symbols when generate .dSYM files.  The only option I find is  -feliminate-dwarf2-dups which works only for dwarf2.
> The concern to me is that even I switch to clang, can this problem be solved?
>  
> > Subject: Re: [lldb-dev] about the error:unable to restore file position to 0x00000ab0 for section __DWARF.__debug_info
> > From: gclayton at apple.com
> > Date: Fri, 2 Dec 2011 10:08:13 -0800
> > CC: lldb-dev at cs.uiuc.edu
> > To: duyingfang at hotmail.com
> > 
> > If you are compiling with clang the the following option is not on by default in older builds of the compiler. This is




More information about the lldb-dev mailing list