[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 21 19:21:14 PDT 2021


aprantl added inline comments.


================
Comment at: llvm/lib/Transforms/Coroutines/CoroSplit.cpp:856
+  // restriction ensures compiler-generated functions don't
+  // inadvertently get non-sensical line numbers. The scope line is
   // associated with all pre-prologue instructions. This avoids a jump
----------------
Instead of this sentence we could just say: `... to ensure line number and file name belong together`.


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