aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/IR/DIBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/IR/DIBuilder.h')
-rw-r--r--llvm/include/llvm/IR/DIBuilder.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/DIBuilder.h b/llvm/include/llvm/IR/DIBuilder.h
index e0238567f251..23ac47ca4d81 100644
--- a/llvm/include/llvm/IR/DIBuilder.h
+++ b/llvm/include/llvm/IR/DIBuilder.h
@@ -181,7 +181,9 @@ namespace llvm {
DIFile *File);
/// Create a single enumerator value.
- DIEnumerator *createEnumerator(StringRef Name, int64_t Val, bool IsUnsigned = false);
+ DIEnumerator *createEnumerator(StringRef Name, APSInt Value);
+ DIEnumerator *createEnumerator(StringRef Name, uint64_t Val,
+ bool IsUnsigned = false);
/// Create a DWARF unspecified type.
DIBasicType *createUnspecifiedType(StringRef Name);
@@ -538,6 +540,18 @@ namespace llvm {
uint64_t SizeInBits, uint32_t AlignInBits, DINodeArray Elements,
DIType *UnderlyingType, StringRef UniqueIdentifier = "", bool IsScoped = false);
+ /// Create debugging information entry for a set.
+ /// \param Scope Scope in which this set is defined.
+ /// \param Name Set name.
+ /// \param File File where this set is defined.
+ /// \param LineNo Line number.
+ /// \param SizeInBits Set size.
+ /// \param AlignInBits Set alignment.
+ /// \param Ty Base type of the set.
+ DIDerivedType *createSetType(DIScope *Scope, StringRef Name, DIFile *File,
+ unsigned LineNo, uint64_t SizeInBits,
+ uint32_t AlignInBits, DIType *Ty);
+
/// Create subroutine type.
/// \param ParameterTypes An array of subroutine parameter types. This
/// includes return type at 0th index.