summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
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
commit9c13eeac99cce2b1449e266e8bd59362b700f16f (patch)
treeebd918293a3caf26c07737d12bfdbe95fccd632d /clang/lib/CodeGen
parent22e157009c9bcf5f4a6aca4d783f899dc469ee5e (diff)
downloadbcm5719-llvm-9c13eeac99cce2b1449e266e8bd59362b700f16f.tar.gz
bcm5719-llvm-9c13eeac99cce2b1449e266e8bd59362b700f16f.zip
Update comments.
llvm-svn: 140531
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 6baf52a0123..494504ac38f 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud