diff options
-rw-r--r-- | include/llvm/CodeGen/MachineDebugInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h index 314d4c226c..752331f903 100644 --- a/include/llvm/CodeGen/MachineDebugInfo.h +++ b/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++; } |