<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 4, 2013, at 12:19 PM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><blockquote type="cite">After talking with Greg, we have to stick with dwarf2 format of ref_addr<br>since our tool chains can only handle that right now. Similar to what we<br>have for llvm-dwarfdump,<br>our tool chains are in the process of migrating to Dwarf4, we handle some<br>Dwarf4 features and may<br>deviate from Dwarf4 when there are incompatibilities.<br></blockquote><br>Oddly enough we've been using the dwarf4 definition the entire time…</div></blockquote>Should we change our version in the CU header from 2 to 4 then?</div><div><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br><blockquote type="cite"><br>We don't really want dwarf2 compatibility. If you think it is wrong to use<br>DarwinGDBCompat, do you have any suggestion?<br><br></blockquote><br>I don't know what else to tell you. This is a change to how dwarf<br>worked between dwarf2 and dwarf3. If you need to enable some<br>compatibility this belongs in a switch between dwarf2 and dwarf3 plus.<br>The darwin gdb compatibility level can be used to set dwarf2 by<br>default for darwin if you'd like, but ultimately the right way to fix<br>this is to start delineating between dwarf 2 and dwarf3+. There just<br>aren't any good 10-20 line solutions.<br></div></blockquote><div><br></div>I will enable this for DarwinGDBCompat, once our tool chains start working with</div><div>the Dwarf3+ format of ref_addr, I will revert this change. Is that okay with you?</div><div><br></div><div>Thanks,</div><div>Manman</div><div><br><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br>-eric</div></blockquote></div><br></body></html>