diff options
author | Eric Christopher <echristo@apple.com> | 2011-10-11 23:00:55 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-10-11 23:00:55 +0000 |
commit | 498b7fd7fead79c5ba6bcabc34fd296bd4a61d43 (patch) | |
tree | 57d1f57763554231b754ee9d49ff1443fd560c1b /clang/lib/CodeGen/CGClass.cpp | |
parent | fefafacf68ade0587cde048de7aaddadf37ec16a (diff) | |
download | bcm5719-llvm-498b7fd7fead79c5ba6bcabc34fd296bd4a61d43.tar.gz bcm5719-llvm-498b7fd7fead79c5ba6bcabc34fd296bd4a61d43.zip |
Start handling debug line and scope information better:
Migrate most of the location setting within the larger API in CGDebugInfo and
update a lot of callers.
Remove the existing file/scope change machinery in UpdateLineDirectiveRegion
and replace it with DILexicalBlockFile usage.
Finishes off the rest of rdar://10246360
llvm-svn: 141732
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 66603acb242..a5e5bb284be 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -693,7 +693,7 @@ void CodeGenFunction::EmitConstructorBody(FunctionArgList &Args) { // delegation optimization. if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor)) { if (CGDebugInfo *DI = getDebugInfo()) - DI->EmitLocation(Builder); + DI->EmitLocation(Builder, Ctor->getLocEnd()); EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args); return; } |