From c972f0504ab0122491c4746082a12acfa767019e Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Wed, 4 Jan 2006 14:29:26 +0000 Subject: [PATCH] Add flag for debug presence. llvm-svn: 25094 --- llvm/include/llvm/CodeGen/MachineDebugInfo.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/include/llvm/CodeGen/MachineDebugInfo.h b/llvm/include/llvm/CodeGen/MachineDebugInfo.h index 314d4c226cc4..752331f90318 100644 --- a/llvm/include/llvm/CodeGen/MachineDebugInfo.h +++ b/llvm/include/llvm/CodeGen/MachineDebugInfo.h @@ -47,6 +47,11 @@ public: {} ~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++; } -- GitLab