[PATCH] Cleanup and document MachineLocation

Eric Christopher echristo at gmail.com
Fri Apr 26 14:31:10 PDT 2013


On Fri, Apr 26, 2013 at 10:27 PM, Adrian Prantl <aprantl at apple.com> wrote:
> 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.
>

Heh. This one was trivial. Have at.

-eric




More information about the llvm-commits mailing list