[all-commits] [llvm/llvm-project] 2fb060: Revert "[coroutines] Use DILocation from new stora...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Tue Dec 12 21:33:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fb060efd87b6fca7815852b271dc064cb276d40
https://github.com/llvm/llvm-project/commit/2fb060efd87b6fca7815852b271dc064cb276d40
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2023-12-13 (Wed, 13 Dec 2023)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
Log Message:
-----------
Revert "[coroutines] Use DILocation from new storage for hoisted dbg.declare" (#75282)
Reverts llvm/llvm-project#75104
Original commit causes clang to generate invalid IR:
```
mismatched subprogram between llvm.dbg.declare variable and !dbg attachment
call void @llvm.dbg.declare(metadata ptr %4, metadata !34468, metadata !DIExpression(DW_OP_plus_uconst, 176)), !dbg !34467
```
More information about the All-commits
mailing list