r186553 - Don't generate bogus line table entries for __copy_helper_block_ and

Adrian Prantl aprantl at apple.com
Wed Jul 17 17:41:25 PDT 2013


On Jul 17, 2013, at 5:35 PM, Eric Christopher <echristo at gmail.com> wrote:

> Without looking too hard on my end I think this is something we might
> want to use in EmitFunctionStart if we don't have a valid loc for the
> function?

The whole topic is really finicky. Currently CGDebugInfo actually _ignores_ unknown locations and reuses the last one. I would really like to reconsider this behavior, because then we wouldn’t need hacks like this. But I’m also aware that changing this default will break the line table in lots of subtle ways and we don’t necessarily have the tests that would catch this.

-- adrian



More information about the cfe-commits mailing list