[PATCH] Cleanup and document MachineLocation

Adrian Prantl aprantl at apple.com
Fri Apr 26 14:27:03 PDT 2013


PATCH:
Cleanup and document MachineLocation. Clarify documentation and API to make the difference between direct and indirect locations more explicit.

It also makes a shortcoming of the current design more visible:
Currently we use an offset of 0 in a DBG_VALUE to indicate generate a direct register value. There appears to no way to specify an indirect value with offset 0 (a breg+0 in dwarf). If you agree with this diagnosis, I’ve got a second (more invasive) patch to the machine layer waiting that rectifies this situation.

thanks,
Adrian

PS: Eric, if you want to look into this this is a lower priority item than my other patches.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Cleanup-and-document-MachineLocation.patch
Type: application/octet-stream
Size: 4199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130426/33f37b69/attachment.obj>


More information about the llvm-commits mailing list