[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineDebugInfo.h
Jim Laskey
jlaskey at apple.com
Wed Jan 4 06:29:37 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
MachineDebugInfo.h updated: 1.2 -> 1.3
---
Log message:
Add flag for debug presence.
---
Diffs of the changes: (+5 -0)
MachineDebugInfo.h | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/include/llvm/CodeGen/MachineDebugInfo.h
diff -u llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.2 llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.3
--- llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.2 Wed Jan 4 07:46:37 2006
+++ llvm/include/llvm/CodeGen/MachineDebugInfo.h Wed Jan 4 08:29:26 2006
@@ -47,6 +47,11 @@
{}
~MachineDebugInfo() { }
+ /// hasInfo - Returns true if debug info is present.
+ ///
+ // FIXME - need scheme to suppress debug output.
+ bool hasInfo() { return true; }
+
/// NextUniqueID - Returns a unique number for labels used by debugger.
///
unsigned NextUniqueID() { return UniqueID++; }
More information about the llvm-commits
mailing list