diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-12-29 22:53:52 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-12-29 22:53:52 +0000 |
| commit | 4d5c7288cc98333484036922976f14ded14573de (patch) | |
| tree | b5814577e2b03985b8f65a604c743191fd295a91 /clang/lib | |
| parent | cab512d6290a578600c886e097157985c3c4baca (diff) | |
| download | bcm5719-llvm-4d5c7288cc98333484036922976f14ded14573de.tar.gz bcm5719-llvm-4d5c7288cc98333484036922976f14ded14573de.zip | |
PR22051: Missing debug location on calls in dtor thunks in Windows.
llvm-svn: 224963
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGVTables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVTables.cpp b/clang/lib/CodeGen/CGVTables.cpp index 1aff3469782..acb2a56fab3 100644 --- a/clang/lib/CodeGen/CGVTables.cpp +++ b/clang/lib/CodeGen/CGVTables.cpp @@ -214,7 +214,7 @@ void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, // Start defining the function. StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, - MD->getLocation(), SourceLocation()); + MD->getLocation(), MD->getLocation()); // Since we didn't pass a GlobalDecl to StartFunction, do this ourselves. CGM.getCXXABI().EmitInstanceFunctionProlog(*this); |

