aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/DwarfWriter.h')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index 11e5623b0d..1a7c5a5666 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/include/llvm/CodeGen/DwarfWriter.h
@@ -550,8 +550,9 @@ namespace llvm {
///
void EmitInitial() const;
- /// ShouldEmitDwarf - Determine if dwarf declarations should be made.
- ///
+ /// ShouldEmitDwarf - Returns true if dwarf declarations should be made.
+ /// When called it also checks to see if debug info is newly available. if
+ /// so the initial dwarf headers are emitted.
bool ShouldEmitDwarf();
/// BeginModule - Emit all dwarf sections that should come prior to the