<div dir="ltr"><div class="gmail_extra">On Mon, Jun 17, 2013 at 11:27 AM, Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":11p" style="overflow:hidden">We do skip the prologue by default. We use the DWARF line tables to see where the prologue end is. If the DWARF doesn't have a prologue end marker in it, we try and figure this out ourselves by using the second line table entry in the line table. I am guessing there is either bad DWARF line table info made by the compiler in this case (with an bad prologue end marker), or no prologue end marker.<br>
<br>
You can also see the some of the line table using:<br>
<br>
(lldb) image dump line-table printf.c<br></div></blockquote><div><br></div><div style>This doesn't look right. It shouldn't have duplicates like that I assume?</div><div><br></div><div><div>(lldb) image dump line-table printf.c</div>
<div>Line table for /build/buildd/eglibc-2.15/stdio-common/printf.c in `libc.so.6</div><div>0x00007f159c281840: /build/buildd/eglibc-2.15/stdio-common/printf.c:30</div><div>0x00007f159c281864: /build/buildd/eglibc-2.15/stdio-common/printf.c:30</div>
<div>0x00007f159c28189b: /build/buildd/eglibc-2.15/stdio-common/printf.c:34</div><div>0x00007f159c2818a3: /build/buildd/eglibc-2.15/stdio-common/printf.c:30</div><div>0x00007f159c2818a6: /build/buildd/eglibc-2.15/stdio-common/printf.c:35</div>
<div>0x00007f159c2818ab: /build/buildd/eglibc-2.15/stdio-common/printf.c:34</div><div>0x00007f159c2818ca: /build/buildd/eglibc-2.15/stdio-common/printf.c:35</div><div>0x00007f159c2818d9: /build/buildd/eglibc-2.15/stdio-common/printf.c:39</div>
<div>0x00007f159c2818e1: /build/buildd/eglibc-2.15/stdio-common/printf.c:39</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div id=":11p" style="overflow:hidden"><div class="im">...<br>
</div>If you send me the ELF file that contains printf, I can check it out the line table and probably the symbol issue for you.</div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">I put a zip file up here with the SO and the debug SO.<br>
</div><br><a href="https://docs.google.com/file/d/0B05iIR_mx6ApWXYzMmFzaWNSZ3M/edit?usp=sharing" style="font-size:medium">https://docs.google.com/file/d/0B05iIR_mx6ApWXYzMmFzaWNSZ3M/edit?usp=sharing</a><br></div><div class="gmail_extra">
<font size="3"><br></font></div><div class="gmail_extra">Thanks Greg.<font size="3"><br></font></div><div class="gmail_extra" style> -Mike</div></div>