[cfe-dev] Adding lifetime begin/end to unnamed temporaries

Renato Golin renato.golin at linaro.org
Fri Aug 1 04:24:14 PDT 2014


On 31 July 2014 17:47, Reid Kleckner <rnk at google.com> wrote:
> This would apply to unnamed temporaries, which presumably have no debug info
> and can't be examined in a debugger.

In theory, you could track liveness of non-temp variables and re-use
their spaces for temps after they're dead, which would mess up with
debugging. But you're right, for everything else, it should be fine.

--renato



More information about the cfe-dev mailing list