Rename EmitStopPoint in CGDebugInfo to EmitLocation. "stop points" don't
exist anymore.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140739 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp
index b8a5d0d..32e9d54 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/lib/CodeGen/CGDebugInfo.cpp
@@ -1803,7 +1803,9 @@
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 @@
assert(!RegionStack.empty() && "Region stack mismatch, stack empty!");
// Provide a region stop point.
- EmitStopPoint(Builder);
+ EmitLocation(Builder);
RegionStack.pop_back();
}