diff options
author | Keno Fischer <keno@alumni.harvard.edu> | 2017-06-01 23:02:12 +0000 |
---|---|---|
committer | Keno Fischer <keno@alumni.harvard.edu> | 2017-06-01 23:02:12 +0000 |
commit | fa635d730f74f3285b77cc1537f1692184b8bf5b (patch) | |
tree | 1f1cbf9654af091f0d6552f8aee670edd4e2bfca /llvm/lib/Transforms/Coroutines | |
parent | 75f2f4c9c18ea1fa7a080cdc945054e6365bc267 (diff) | |
download | bcm5719-llvm-fa635d730f74f3285b77cc1537f1692184b8bf5b.tar.gz bcm5719-llvm-fa635d730f74f3285b77cc1537f1692184b8bf5b.zip |
Reapply "[Cloning] Take another pass at properly cloning debug info"
This was rL304226, reverted in 304228 due to a clang assertion failure
on the build bots. That problem should have been addressed by clang
commit rL304470.
llvm-svn: 304488
Diffstat (limited to 'llvm/lib/Transforms/Coroutines')
-rw-r--r-- | llvm/lib/Transforms/Coroutines/CoroSplit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Coroutines/CoroSplit.cpp b/llvm/lib/Transforms/Coroutines/CoroSplit.cpp index 613b4a7f03e..626a891f65c 100644 --- a/llvm/lib/Transforms/Coroutines/CoroSplit.cpp +++ b/llvm/lib/Transforms/Coroutines/CoroSplit.cpp @@ -228,7 +228,7 @@ static Function *createClone(Function &F, Twine Suffix, coro::Shape &Shape, SmallVector<ReturnInst *, 4> Returns; - CloneFunctionInto(NewF, &F, VMap, /*ModuleLevelChanges=*/false, Returns); + CloneFunctionInto(NewF, &F, VMap, /*ModuleLevelChanges=*/true, Returns); // Remove old returns. for (ReturnInst *Return : Returns) |