1. Support standard dwarf format (was bootstrapping in Apple format.)

2. Add vector support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-06-15 20:51:43 +00:00
parent d5a932b92a
commit f8a01a9661
7 changed files with 52 additions and 20 deletions
+6 -1
View File
@@ -575,6 +575,7 @@ NULL derived type.</p>
uint, ;; Size in bits
uint, ;; Alignment in bits
uint, ;; Offset in bits
bool, ;; Is vector flag
{ }* ;; Reference to array of member descriptors
}
</pre>
@@ -590,6 +591,8 @@ are possible tag values;</p>
DW_TAG_union_type = 23
</pre>
<p>The vector flag indicates that an array type is a native packed vector.</p>
<p>The members of array types (tag = <tt>DW_TAG_array_type</tt>) are <a
href="#format_subrange">subrange descriptors</a>, each representing the range of
subscripts at that level of indexing.</p>
@@ -1600,7 +1603,8 @@ struct Color {
uint 96,
uint 32,
uint 0,
{ }* null,
{ }* null,
bool false,
{ }* cast ([3 x { }*]* %llvm.dbg.array to { }*) }, section "llvm.metadata"
%str2 = internal constant [6 x sbyte] c"Color\00", section "llvm.metadata"
@@ -1693,6 +1697,7 @@ enum Trees {
uint 32,
uint 0,
{ }* null,
bool false,
{ }* cast ([3 x { }*]* %llvm.dbg.array to { }*) }, section "llvm.metadata"
%str1 = internal constant [6 x sbyte] c"Trees\00", section "llvm.metadata"