summaryrefslogtreecommitdiffstats
path: root/llvm/docs/SourceLevelDebugging.html
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-08-21 21:21:06 +0000
committerJim Laskey <jlaskey@mac.com>2006-08-21 21:21:06 +0000
commit4771cca1b5976680c32ede218e0fca759ea4f92d (patch)
tree1ca565b232add16a1dc755d5df8b009a55b0322d /llvm/docs/SourceLevelDebugging.html
parentb6ac11e120caa2db015047c6e7bba5f6aaa2a2ab (diff)
downloadbcm5719-llvm-4771cca1b5976680c32ede218e0fca759ea4f92d.tar.gz
bcm5719-llvm-4771cca1b5976680c32ede218e0fca759ea4f92d.zip
Update debugging documents.
llvm-svn: 29800
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.html')
-rw-r--r--llvm/docs/SourceLevelDebugging.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/SourceLevelDebugging.html b/llvm/docs/SourceLevelDebugging.html
index 4525e4400f6..9a4e402dfc1 100644
--- a/llvm/docs/SourceLevelDebugging.html
+++ b/llvm/docs/SourceLevelDebugging.html
@@ -591,6 +591,7 @@ are possible tag values;</p>
DW_TAG_union_type = 23
DW_TAG_vector_type = 259
DW_TAG_subroutine_type = 46
+ DW_TAG_inheritance = 26
</pre>
<p>The vector flag indicates that an array type is a native packed vector.</p>
@@ -611,6 +612,17 @@ href="#format_basic_type">basic</a>, <a href="#format_derived_type">derived</a>
or <a href="#format_composite_type">composite</a> type descriptors, each
representing a field member of the structure or union.</p>
+<p>For C++ classes (tag = <tt>DW_TAG_structure_type</tt>), member descriptors
+provide information about base classes, static members and member functions. If
+a member is a <a href="#format_derived_type">derived type descriptor</a> and has
+a tag of <tt>DW_TAG_inheritance</tt>, then the type represents a base class. If
+the member of is a <a href="#format_global_variables">global variable
+descriptor</a> then it represents a static member. And, if the member is a <a
+href="#format_subprograms">subprogram descriptor</a> then it represents a member
+function. For static members and member functions, <tt>getName()</tt> returns
+the members link or the C++ mangled name. <tt>getDisplayName()</tt> the
+simplied version of the name.</p>
+
<p>The first member of subroutine (tag = <tt>DW_TAG_subroutine_type</tt>)
type elements is the return type for the subroutine. The remaining
elements are the formal arguments to the subroutine.</p>
OpenPOWER on IntegriCloud