[PATCH] Allocate stack storage for .block_descriptor and captured self.

Adrian Prantl aprantl at apple.com
Wed Feb 27 11:39:38 PST 2013

On Feb 27, 2013, at 11:31 AM, John McCall <rjmccall at apple.com> wrote:
> Okay, you're saying that the value is actually no longer live at all at this point in the function?  It seems reasonable to lose track of the debug info then, although we should be leaving behind a marker in the DWARF that says the value is unavailable.
> If we want to make stronger guarantees in -O0 for purposes of debugging — and I think that's reasonable — then throwing the value in an alloca is acceptable.

To clarify: Are you suggesting to only generate the alloca at -O0, or are you comfortable with it as it is?


More information about the cfe-commits mailing list