aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-04-15 00:06:07 +0000
committerDevang Patel <dpatel@apple.com>2009-04-15 00:06:07 +0000
commitaf5b6bb6a539f1d4cc3b0f0e10b3c3c9267bbfd1 (patch)
treedd8b2fd078e706c87ab36662db5a5664a2cf27a0 /include
parent6d9305c7fd3cd5ecf6e6326da0b8ed1f63a771f3 (diff)
downloadexternal_llvm-af5b6bb6a539f1d4cc3b0f0e10b3c3c9267bbfd1.zip
external_llvm-af5b6bb6a539f1d4cc3b0f0e10b3c3c9267bbfd1.tar.gz
external_llvm-af5b6bb6a539f1d4cc3b0f0e10b3c3c9267bbfd1.tar.bz2
Add a method to check that the subprogram holds debug info for the given Function or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index c6f0928..a8e124c 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -309,6 +309,10 @@ namespace llvm {
/// dump - print subprogram.
void dump() const;
+
+ /// describes - Return true if this subprogram provides debugging
+ /// information for the function F.
+ bool describes(const Function *F);
};
/// DIGlobalVariable - This is a wrapper for a global variable.