<div dir="ltr">Hey Greg, I just confirmed this with our build team. I seem to have misunderstood the location of debug symbol. It is actually not inside each individual object file but:<div><p style="margin:0px;padding:0px;font-family:"san francisco",-apple-system,blinkmacsystemfont,".sfnstext-regular",sans-serif;color:rgb(29,33,41);font-size:12px;letter-spacing:-0.24px;background-color:rgb(246,247,249)">The debug info in <code style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(233,235,238);font-size:10.8px;padding:1px 4px;font-family:menlo,consolas,monaco,monospace;letter-spacing:normal">dev</code> mode sits in the <code style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(233,235,238);font-size:10.8px;padding:1px 4px;font-family:menlo,consolas,monaco,monospace;letter-spacing:normal">.debug_*</code> sections of the shared libraries<span class="gmail-text_exposed_show" style="display:inline;font-family:inherit"> (we don't use debug fission).</span></p><div class="gmail-text_exposed_show" style="display:inline;font-family:"san francisco",-apple-system,blinkmacsystemfont,".sfnstext-regular",sans-serif;color:rgb(29,33,41);font-size:12px;letter-spacing:-0.24px;background-color:rgb(246,247,249)"><p style="margin:0px;padding:0px;font-family:inherit">One potential complicating factor is that we relativize the <code style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(233,235,238);font-size:10.8px;padding:1px 4px;font-family:menlo,consolas,monaco,monospace;letter-spacing:normal">DW_AT_comp_dir</code>attributes in the DWARF info, so that it's almost always just a long reference to the current working directory (e.g. <code style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(233,235,238);font-size:10.8px;padding:1px 4px;font-family:menlo,consolas,monaco,monospace;letter-spacing:normal">.///</code>).</p><p style="margin:0px;padding:0px;font-family:inherit"><br></p><p style="margin:0px;padding:0px;font-family:inherit">I do not know why this(symbol in shared library) would cause the bug though.</p><p style="margin:0px;padding:0px;font-family:inherit"><br></p><p style="margin:0px;padding:0px;font-family:inherit">Jeffrey</p></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 9, 2017 at 1:57 PM, Greg Clayton <span dir="ltr"><<a href="mailto:clayborg@gmail.com" target="_blank">clayborg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Comments below.<div><br><div><span class=""><blockquote type="cite"><div>On Jan 9, 2017, at 1:10 PM, Jeffrey Tan via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:</div><br class="m_6798138216981228047Apple-interchange-newline"><div><div dir="ltr">Hi,<div><br></div><div>O ur company is using Buck(<a href="https://buckbuild.com/" target="_blank">https://buckbuild.com/</a>) to build internal service. Recently the build team made a change in buck to not merge dwarf symbols from each object file into final binary so debugger needs to read source/symbol table from compilation unit itself.</div></div></div></blockquote><div><br></div></span>How are debug symbols expected to be found? Is fission being used where the DWARF for each compile unit is in .dwo files and the main executable has skeleton DWARF? I will skip all other questions until we know more about how and where the DWARF is.</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Greg Clayton</div><div><br></div></font></span></div></blockquote></div><br></div>