[PATCH] D102412: [coro] Preserve scope line for compiler generated functions
Dave Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 27 15:18:35 PDT 2021
kastiglione added a comment.
following up here, looks like test/Transforms/Coroutines/coro-async.ll <https://github.com/llvm/llvm-project/blob/ee544b8d868d5845798c37200a4b2bd9de889a96/llvm/test/Transforms/Coroutines/coro-async.ll> is the test that has the right "existing testcase" however it looks like I need to duplicate the whole thing and then tweak it. That test covers the `SP->getFile() == DL->getFile()` case, and if I change it by "artificially changing a suspend point's !dbg location to use a different file name", then it will instead test cover the inverted case (`SP->getFile() != DL->getFile()`).
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