aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-26 15:03:22 +0000
committerEric Christopher <echristo@apple.com>2011-09-26 15:03:22 +0000
commit43202aee91646c9b5cd6d5cbea690b479075b67b (patch)
treec822b3f22d27681100fe64f62b25d4c5c55f9bf1 /lib/CodeGen/CGDebugInfo.cpp
parentf9aac38d1290c17192a74b5bc2de52b9fb1a87ca (diff)
Update comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp
index 6baf52a012..494504ac38 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/lib/CodeGen/CGDebugInfo.cpp
@@ -1824,7 +1824,7 @@ void CGDebugInfo::UpdateLineDirectiveRegion(CGBuilderTy &Builder) {
return;
}
/// EmitRegionStart- Constructs the debug code for entering a declarative
-/// region - "llvm.dbg.region.start.".
+/// region - beginning of a DW_TAG_lexical_block.
void CGDebugInfo::EmitRegionStart(CGBuilderTy &Builder) {
llvm::DIDescriptor D =
DBuilder.createLexicalBlock(RegionStack.empty() ?
@@ -1838,11 +1838,11 @@ void CGDebugInfo::EmitRegionStart(CGBuilderTy &Builder) {
}
/// EmitRegionEnd - Constructs the debug code for exiting a declarative
-/// region - "llvm.dbg.region.end."
+/// region - end of a DW_TAG_lexical_block.
void CGDebugInfo::EmitRegionEnd(CGBuilderTy &Builder) {
assert(!RegionStack.empty() && "Region stack mismatch, stack empty!");
- // Provide an region stop point.
+ // Provide a region stop point.
EmitStopPoint(Builder);
RegionStack.pop_back();