[PATCH] D102412: [coro] Preserve scope line for compiler generated functions

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 13:01:56 PDT 2021


aprantl requested changes to this revision.
aprantl added a comment.
This revision now requires changes to proceed.

`<compiler-generated>` is just something the Swift frontend picks as filename but LLVM shouldn't treat it as special.

A better way to fix this is to

- either set scopeline and filename together or leave the scopeline alone if the original scopeline is 0

and

- fix the frontend to not emit real source locations into an artificial compiler-generated function (it puzzles me how this happens in the first place)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102412/new/

https://reviews.llvm.org/D102412



More information about the llvm-commits mailing list