diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-01-04 14:29:26 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-01-04 14:29:26 +0000 |
commit | 129e079e0669052daf39068c14ffd158e14dbb3a (patch) | |
tree | f84f03b86d8fbdd6ea4c5d3efe1cd5edd2dca544 | |
parent | a7cea6f599418a579ab5ce66413fba7efa8bf581 (diff) |
Add flag for debug presence.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25094 91177308-0d34-0410-b5e6-96231b3b80d8
-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++; } |