aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2021-05-13 09:04:29 -0700
committerDave Lee <davelee.com@gmail.com>2021-06-02 15:57:12 -0700
commit60ce8babf77e65836d844741fbe50f297ad00781 (patch)
tree2b8eeb36bba018b996008c8de93340271e374433 /clang/lib/Frontend/CompilerInstance.cpp
parent1c5ff0b03f4e5b03619f58634396b5370d61b086 (diff)
downloadllvm-60ce8babf77e65836d844741fbe50f297ad00781.zip
llvm-60ce8babf77e65836d844741fbe50f297ad00781.tar.gz
llvm-60ce8babf77e65836d844741fbe50f297ad00781.tar.bz2
[coro] Preserve scope line for compiler generated functions
Coro-split functions with an active suspend point have their scope line set to the line of the suspend point. However for compiler generated functions, this results in debug info with unconventional results: a file named `<compiler-generated>` with a non-zero line number. The convention for `<compiler-generated>` is that the line number is zero. This change propagates the scope line only for non-compiler generated functions. Differential Revision: https://reviews.llvm.org/D102412
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions