commit | da19475328ece3da19437a2e9eef035dcafa2814 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Tue Apr 05 22:52:06 2011 +0000 |
committer | Devang Patel <dpatel@apple.com> | Tue Apr 05 22:52:06 2011 +0000 |
tree | 684e61811d6206c998d94c6690d3f403e5fa5014 | |
parent | 76634dfabb02507b73c0baed6fdd98bd5e703c60 [diff] [blame] |
Add support to encode function's template parameters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128947 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 951fd3c..276ac45 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h
@@ -511,6 +511,7 @@ bool describes(const Function *F); Function *getFunction() const { return getFunctionField(16); } + DIArray getTemplateParams() const { return getFieldAs<DIArray>(17); } }; /// DIGlobalVariable - This is a wrapper for a global variable.