diff options
| author | Eric Christopher <echristo@apple.com> | 2011-09-29 00:00:41 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-09-29 00:00:41 +0000 |
| commit | bfa4dc551218f79a6d2584bccf9e188a1567bbe3 (patch) | |
| tree | 4d1a2b202997358bb359b0e490438e313ae82525 /clang/lib/CodeGen/CGDebugInfo.cpp | |
| parent | 4fd315ffbdbb4a175d729f08abea8b37e713996d (diff) | |
| download | bcm5719-llvm-bfa4dc551218f79a6d2584bccf9e188a1567bbe3.tar.gz bcm5719-llvm-bfa4dc551218f79a6d2584bccf9e188a1567bbe3.zip | |
Rename EmitStopPoint in CGDebugInfo to EmitLocation. "stop points" don't
exist anymore.
llvm-svn: 140739
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index b8a5d0d83c1..32e9d543b62 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1803,7 +1803,9 @@ void CGDebugInfo::UpdateLineDirectiveRegion(CGBuilderTy &Builder) { return; } -void CGDebugInfo::EmitStopPoint(CGBuilderTy &Builder) { +/// EmitLocation - Emit metadata to indicate a change in line/column +/// information in the source file. +void CGDebugInfo::EmitLocation(CGBuilderTy &Builder) { if (CurLoc.isInvalid() || CurLoc.isMacroID()) return; // Don't bother if things are the same as last time. @@ -1847,7 +1849,7 @@ void CGDebugInfo::EmitRegionEnd(CGBuilderTy &Builder) { assert(!RegionStack.empty() && "Region stack mismatch, stack empty!"); // Provide a region stop point. - EmitStopPoint(Builder); + EmitLocation(Builder); RegionStack.pop_back(); } |

