summaryrefslogtreecommitdiffstats
path: root/llvm/docs/SourceLevelDebugging.html
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-04-05 22:52:06 +0000
committerDevang Patel <dpatel@apple.com>2011-04-05 22:52:06 +0000
commit9f738849ab9cc214c77b5937c5d09cc73ac7cd6d (patch)
tree7f98f119fd8c6a9d953cf2fa7bc2c07663cf4e5e /llvm/docs/SourceLevelDebugging.html
parent3501655ad9c57c28cb62006289ba8614974f9a54 (diff)
downloadbcm5719-llvm-9f738849ab9cc214c77b5937c5d09cc73ac7cd6d.tar.gz
bcm5719-llvm-9f738849ab9cc214c77b5937c5d09cc73ac7cd6d.zip
Add support to encode function's template parameters.
llvm-svn: 128947
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.html')
-rw-r--r--llvm/docs/SourceLevelDebugging.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm/docs/SourceLevelDebugging.html b/llvm/docs/SourceLevelDebugging.html
index c786a7d0a81..79ea71ac302 100644
--- a/llvm/docs/SourceLevelDebugging.html
+++ b/llvm/docs/SourceLevelDebugging.html
@@ -441,6 +441,7 @@ global variables are collected by named metadata <tt>!llvm.dbg.gv</tt>.</p>
i1 ;; isArtificial
i1 ;; isOptimized
Function *;; Pointer to LLVM function
+ metadata ;; Lists function template parameters
}
</pre>
</div>
@@ -1200,7 +1201,14 @@ int main(int argc, char *argv[]) {
i32 1, ;; Line number
metadata !4, ;; Type
i1 false, ;; Is local
- i1 true ;; Is definition
+ i1 true, ;; Is definition
+ i32 0, ;; Virtuality attribute, e.g. pure virtual function
+ i32 0, ;; Index into virtual table for C++ methods
+ i32 0, ;; Type that holds virtual table.
+ i32 0, ;; Flags
+ i1 false, ;; True if this function is optimized
+ Function *, ;; Pointer to llvm::Function
+ null ;; Function template parameters
}
;;
;; Define the subprogram itself.
OpenPOWER on IntegriCloud