<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi, Greg<BR>Thanks very much for your time.<BR>The flag -flimit-debug-info does not solve my problem.<BR>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.<BR>The concern to me is that even I switch to clang, can this problem be solved?<BR> <BR><div>> Subject: Re: [lldb-dev] about the error:unable to restore file position to 0x00000ab0 for section __DWARF.__debug_info<br>> From: gclayton@apple.com<br>> Date: Fri, 2 Dec 2011 10:08:13 -0800<br>> CC: lldb-dev@cs.uiuc.edu<br>> To: duyingfang@hotmail.com<br>> <br>> If you are compiling with clang the the following option is not on by default in older builds of the compiler!
. This issue has been resolved recently, but try adding:<br>> <br>> -flimit-debug-info<br>> <br>> To your OTHER_CFLAGS.<br>> <br>> Greg Clayton<br>> <br>> <br>> On Dec 1, 2011, at 9:33 PM, DuYvonne wrote:<br>> <br>> > Hi,<br>> > I have this error occur when I link a new lib with my app.<br>> > <br>> > I found a topic talking about this problem at http://comments.gmane.org/gmane.comp.debugging.lldb.devel/528<br>> > But I did not find a solution for solving this problem.<br>> > <br>> > I use dwarfdump -R MyApp.dSYM before linking with a new lib, and I see that the __debug_info section has the size of 1.98G. <br>> > __debug_info __DWARF 0ec2d66b 7ed7c72d 0345c66b 00000000 00000000 00000000 00000000 00000000 00000000 1.98G 87.62%<br>> > <br>> > So I guess when I link my new lib, it exceeds the maximum size. Is it 2.26G (= 1.98/.8762?)?<br>> > <br>> > Is there so!
me way that I can reduce __debug_info section? <br>> > <br>>
> <br>> > Thanks,<br>> > Yingfang, Du<br>> > <br>> > <br>> > <br>> > <br>> > _______________________________________________<br>> > lldb-dev mailing list<br>> > lldb-dev@cs.uiuc.edu<br>> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev<br>> <br></div> </div></body>
</html>