aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2021-02-25 17:25:34 -0800
committerAdrian Prantl <aprantl@apple.com>2021-03-04 11:05:35 -0800
commitd268febc5610021af41b9dde5762404d09509f30 (patch)
tree8b8075f5f97ceab6b21c09983631db37a8df50bb /llvm/lib/Transforms/Utils/InlineFunction.cpp
parenta85eb11129ce941e91b5bc3b188e469aaca4425f (diff)
downloadllvm-d268febc5610021af41b9dde5762404d09509f30.zip
llvm-d268febc5610021af41b9dde5762404d09509f30.tar.gz
llvm-d268febc5610021af41b9dde5762404d09509f30.tar.bz2
Improve the debug info for coro-split .resume functions
This patch updates the scope line to point to the suspend point. This makes the first address in the function point to the first source line in the resume function rather than the function declaration. Without this the line table "jumps" from the beginning of the function to the suspend point at the beginning. rdar://73386346 Differential Revision: https://reviews.llvm.org/D97345
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions