diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/DIBuilder.h | 7 | ||||
-rw-r--r-- | include/llvm/DebugInfo.h | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/DIBuilder.h b/include/llvm/DIBuilder.h index 4ce884b..bb1bdd7 100644 --- a/include/llvm/DIBuilder.h +++ b/include/llvm/DIBuilder.h @@ -332,10 +332,9 @@ namespace llvm { /// @param LineNo Line number. /// @param ColumnNo Column Number. DITemplateValueParameter - createTemplateValueParameter(DIDescriptor Scope, StringRef Name, DIType Ty, - uint64_t Value, - MDNode *File = 0, unsigned LineNo = 0, - unsigned ColumnNo = 0); + createTemplateValueParameter(DIDescriptor Scope, StringRef Name, + DIType Ty, Value *Val, MDNode *File = 0, + unsigned LineNo = 0, unsigned ColumnNo = 0); /// createArrayType - Create debugging information entry for an array. /// @param Size Array size. diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 5f92ca2..91c3066 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -401,7 +401,7 @@ namespace llvm { DIScope getContext() const { return getFieldAs<DIScope>(1); } StringRef getName() const { return getStringField(2); } DIType getType() const { return getFieldAs<DIType>(3); } - uint64_t getValue() const { return getUInt64Field(4); } + Value *getValue() const; StringRef getFilename() const { return getFieldAs<DIFile>(5).getFilename(); } |