diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-05-10 21:52:07 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-05-10 21:52:07 +0000 |
commit | 4de9d72883eebe4e86bffdaad89483dfe822e2a5 (patch) | |
tree | 6a8943e3e03b77597c5e99a823c85156bb5ab422 /include/llvm/DIBuilder.h | |
parent | fd4ccda4a56d1664b43ca7ed9909254f6de592bb (diff) | |
download | external_llvm-4de9d72883eebe4e86bffdaad89483dfe822e2a5.zip external_llvm-4de9d72883eebe4e86bffdaad89483dfe822e2a5.tar.gz external_llvm-4de9d72883eebe4e86bffdaad89483dfe822e2a5.tar.bz2 |
PR14492: Debug Info: Support for values of non-integer non-type template parameters.
This is only tested for global variables at the moment (& includes tests
for the unnamed parameter case, since apparently this entire function
was completely untested previously)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DIBuilder.h')
-rw-r--r-- | include/llvm/DIBuilder.h | 7 |
1 files changed, 3 insertions, 4 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. |