<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 12, 2015, at 2:42 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com" class="">dblaikie@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Mar 12, 2015 at 2:39 PM, Adrian Prantl <span dir="ltr" class=""><<a href="mailto:aprantl@apple.com" target="_blank" class="">aprantl@apple.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[Just noticed that I forgot to rename MayUsePieceForSubRegMask in DwarfCompileUnit.]<br class="">
<br class="">
The problem is that the TargetRegisterInfo tells us that the frame register is ebp, for which there is no separate register number, </blockquote><div class=""><br class="">Well, we don't have one listed, but GDB/GCC might have one? Since the register numbering is an implementation detail, not part of the DWARF spec. But I haven't looked/wouldn't really know where to look to see if it's just a matter of us adding the appropriate number.<br class=""></div></div></div></div></div></blockquote><div><br class=""></div><div>Even if it had one this would then break existing LLDB. As far as I understand it, the x86_64 ABI only defines register numbers for the 64-bit registers:</div><div><br class=""></div><div><a href="http://llvm.org/svn/llvm-project/lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp" class="">http://llvm.org/svn/llvm-project/lldb/trunk/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp</a></div><div><br class=""></div><div>-- adrian</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">so it must be constructed from rbp. The DWARF backend doesn't know about what is in the upper half of rbp so it must mask out the upper bits.<br class="">
<div class="HOEnZb"><div class="h5"><br class="">
<br class="">
<a href="http://reviews.llvm.org/D8233" target="_blank" class="">http://reviews.llvm.org/D8233</a><br class="">
<br class="">
EMAIL PREFERENCES<br class="">
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank" class="">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br class="">
<br class="">
<br class="">
</div></div></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></body></html>