summaryrefslogtreecommitdiff
path: root/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
commit4ed0c5fb07a2a4db3dd1e6a266ba961429aba2ec (patch)
tree9869b614ac211d86ca59a1e6058d071e380b1de8 /include
parent5d0f68134e66956242bc93843f56634bfc4df3a8 (diff)
downloadllvm-4ed0c5fb07a2a4db3dd1e6a266ba961429aba2ec.tar.gz
llvm-4ed0c5fb07a2a4db3dd1e6a266ba961429aba2ec.tar.bz2
llvm-4ed0c5fb07a2a4db3dd1e6a266ba961429aba2ec.tar.xz
Add an accessor method to DwarfWriter to tell of debugging info should be emitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index 58a2fa7423..dc844e1fbf 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/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;
};