mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
Merge pull request #1598 from Syniurge/llvm38-debuginfofix-master
Debug info generation fixes for LLVM >= 3.8
This commit is contained in:
commit
a8761617ac
10 changed files with 161 additions and 15 deletions
|
@ -837,6 +837,8 @@ public:
|
|||
exnObj = DtoAlloca(var->type, "exnObj");
|
||||
}
|
||||
irs->scope() = save;
|
||||
irs->DBuilder.EmitStopPoint(ctch->loc); // re-set debug loc after the
|
||||
// SetInsertPoint(allocaInst) call
|
||||
} else if (ctch->type) {
|
||||
// catch without var
|
||||
exnObj = DtoAlloca(ctch->type, "exnObj");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue