summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-20 00:44:43 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-20 00:44:43 +0000
commit0a0987d198ec37fcca74c0b62937c5d3d95b500b (patch)
tree79da58749a86a806456ef0b32f9f136c6812472e /llvm/include
parentfc1042f9bbc271dd56c4d78362c11bb984f1d1bc (diff)
downloadbcm5719-llvm-0a0987d198ec37fcca74c0b62937c5d3d95b500b.tar.gz
bcm5719-llvm-0a0987d198ec37fcca74c0b62937c5d3d95b500b.zip
Add an accessor method to DwarfWriter to tell of debugging info should be emitted.
llvm-svn: 65092
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/DwarfWriter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/DwarfWriter.h b/llvm/include/llvm/CodeGen/DwarfWriter.h
index 58a2fa74237..dc844e1fbf0 100644
--- a/llvm/include/llvm/CodeGen/DwarfWriter.h
+++ b/llvm/include/llvm/CodeGen/DwarfWriter.h
@@ -101,6 +101,9 @@ public:
///
void RecordVariable(GlobalVariable *GV, unsigned FrameIndex);
+ /// ShouldEmitDwarfDebug - Returns true if Dwarf debugging declarations should
+ /// be emitted.
+ bool ShouldEmitDwarfDebug() const;
};
OpenPOWER on IntegriCloud