summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-10-06 20:50:40 +0000
committerDevang Patel <dpatel@apple.com>2010-10-06 20:50:40 +0000
commitd6747df5e0354256a9e440d38f21c0b3ca82af28 (patch)
tree493a9d6200484b104136720fece7f949127ffa2a /include/llvm/Analysis
parent7cd2729d2a2ded13ba35f85575b64383f198f976 (diff)
downloadllvm-d6747df5e0354256a9e440d38f21c0b3ca82af28.tar.gz
llvm-d6747df5e0354256a9e440d38f21c0b3ca82af28.tar.bz2
llvm-d6747df5e0354256a9e440d38f21c0b3ca82af28.tar.xz
Add support for DW_TAG_unspecified_parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/DebugInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 4189f5d9b8..8b4a4c184e 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -119,6 +119,7 @@ namespace llvm {
bool isEnumerator() const;
bool isType() const;
bool isGlobal() const;
+ bool isUnspecifiedParameter() const;
};
/// DISubrange - This is used to represent ranges, for array bounds.
@@ -626,6 +627,10 @@ namespace llvm {
/// implicitly uniques the values returned.
DISubrange GetOrCreateSubrange(int64_t Lo, int64_t Hi);
+ /// CreateUnspecifiedParameter - Create unspeicified type descriptor
+ /// for a subroutine type.
+ DIDescriptor CreateUnspecifiedParameter();
+
/// CreateCompileUnit - Create a new descriptor for the specified compile
/// unit.
DICompileUnit CreateCompileUnit(unsigned LangID,