llvm.org GIT mirror llvm / f436fed
update some syntax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68362 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 89 addition(s) and 89 deletion(s). Raw diff Collapse all Expand all
300300
301301

The fields of debug descriptors used internally by LLVM (MachineModuleInfo)

302302 are restricted to only the simple data types int, uint,
303 bool, float, double, sbyte* and { }*
303 bool, float, double, i8* and { }*
304304 . References to arbitrary values are handled using a { }* and a
305305 cast to { }* expression; typically references to other field
306306 descriptors, arrays of descriptors or global variables.

374374 uint, ;; Tag = 17 + LLVMDebugVersion (DW_TAG_compile_unit)
375375 { }*, ;; Compile unit anchor = cast = (%llvm.dbg.anchor.type* %llvm.dbg.compile_units to { }*)
376376 uint, ;; Dwarf language identifier (ex. DW_LANG_C89)
377 sbyte*, ;; Source file name
378 sbyte*, ;; Source file directory (includes trailing slash)
379 sbyte* ;; Producer (ex. "4.0.1 LLVM (LLVM research group)")
377 i8*, ;; Source file name
378 i8*, ;; Source file directory (includes trailing slash)
379 i8* ;; Producer (ex. "4.0.1 LLVM (LLVM research group)")
380380 bool ;; True if this is a main compile unit.
381381 }
382382
414414 uint, ;; Tag = 52 + LLVMDebugVersion (DW_TAG_variable)
415415 { }*, ;; Global variable anchor = cast (%llvm.dbg.anchor.type* %llvm.dbg.global_variables to { }*),
416416 { }*, ;; Reference to context descriptor
417 sbyte*, ;; Name
418 sbyte*, ;; Display name (fully qualified C++ name)
419 sbyte*, ;; MIPS linkage name (for C++)
417 i8*, ;; Name
418 i8*, ;; Display name (fully qualified C++ name)
419 i8*, ;; MIPS linkage name (for C++)
420420 { }*, ;; Reference to compile unit where defined
421421 uint, ;; Line number where defined
422422 { }*, ;; Reference to type descriptor
443443 uint, ;; Tag = 46 + LLVMDebugVersion (DW_TAG_subprogram)
444444 { }*, ;; Subprogram anchor = cast (%llvm.dbg.anchor.type* %llvm.dbg.subprograms to { }*),
445445 { }*, ;; Reference to context descriptor
446 sbyte*, ;; Name
447 sbyte*, ;; Display name (fully qualified C++ name)
448 sbyte*, ;; MIPS linkage name (for C++)
446 i8*, ;; Name
447 i8*, ;; Display name (fully qualified C++ name)
448 i8*, ;; MIPS linkage name (for C++)
449449 { }*, ;; Reference to compile unit where defined
450450 uint, ;; Line number where defined
451451 { }*, ;; Reference to type descriptor
468468
469469

                  
                
470470 %llvm.dbg.block = type {
471 uint, ;; Tag = 13 + LLVMDebugVersion (DW_TAG_lexical_block)
471 i32, ;; Tag = 13 + LLVMDebugVersion (DW_TAG_lexical_block)
472472 { }* ;; Reference to context descriptor
473473 }
474474
490490 %llvm.dbg.basictype.type = type {
491491 uint, ;; Tag = 36 + LLVMDebugVersion (DW_TAG_base_type)
492492 { }*, ;; Reference to context (typically a compile unit)
493 sbyte*, ;; Name (may be "" for anonymous types)
493 i8*, ;; Name (may be "" for anonymous types)
494494 { }*, ;; Reference to compile unit where defined (may be NULL)
495495 uint, ;; Line number where defined (may be 0)
496 uint, ;; Size in bits
497 uint, ;; Alignment in bits
496 i64, ;; Size in bits
497 i64, ;; Alignment in bits
498498 uint, ;; Offset in bits
499499 uint ;; Dwarf type encoding
500500 }
536536 %llvm.dbg.derivedtype.type = type {
537537 uint, ;; Tag (see below)
538538 { }*, ;; Reference to context
539 sbyte*, ;; Name (may be "" for anonymous types)
539 i8*, ;; Name (may be "" for anonymous types)
540540 { }*, ;; Reference to compile unit where defined (may be NULL)
541541 uint, ;; Line number where defined (may be 0)
542542 uint, ;; Size in bits
600600 %llvm.dbg.compositetype.type = type {
601601 uint, ;; Tag (see below)
602602 { }*, ;; Reference to context
603 sbyte*, ;; Name (may be "" for anonymous types)
603 i8*, ;; Name (may be "" for anonymous types)
604604 { }*, ;; Reference to compile unit where defined (may be NULL)
605605 uint, ;; Line number where defined (may be 0)
606606 uint, ;; Size in bits
700700

                  
                
701701 %llvm.dbg.enumerator.type = type {
702702 uint, ;; Tag = 40 + LLVMDebugVersion (DW_TAG_enumerator)
703 sbyte*, ;; Name
703 i8*, ;; Name
704704 uint ;; Value
705705 }
706706
721721 %llvm.dbg.variable.type = type {
722722 uint, ;; Tag (see below)
723723 { }*, ;; Context
724 sbyte*, ;; Name
724 i8*, ;; Name
725725 { }*, ;; Reference to compile unit where defined
726726 uint, ;; Line number where defined
727727 { }* ;; Type descriptor
10811081 ;; for compile units.
10821082 ;;
10831083 %llvm.dbg.anchor.type = type { uint, uint }
1084 %llvm.dbg.compile_unit.type = type { uint, { }*, uint, uint, sbyte*, sbyte*, sbyte* }
1084 %llvm.dbg.compile_unit.type = type { uint, { }*, uint, uint, i8*, i8*, i8* }
10851085 ...
10861086 ;;
10871087 ;; Define the anchor for compile units. Note that the second field of the
10981098 { }* cast (%llvm.dbg.anchor.type* %llvm.dbg.compile_units to { }*),
10991099 uint 1,
11001100 uint 1,
1101 sbyte* getelementptr ([13 x sbyte]* %str1, int 0, int 0),
1102 sbyte* getelementptr ([21 x sbyte]* %str2, int 0, int 0),
1103 sbyte* getelementptr ([33 x sbyte]* %str3, int 0, int 0) }, section "llvm.metadata"
1101 i8* getelementptr ([13 x i8]* %str1, i32 0, i32 0),
1102 i8* getelementptr ([21 x i8]* %str2, i32 0, i32 0),
1103 i8* getelementptr ([33 x i8]* %str3, i32 0, i32 0) }, section "llvm.metadata"
11041104
11051105 ;;
11061106 ;; Define the compile unit for the header file "/Users/mine/sources/MyHeader.h".
11101110 { }* cast (%llvm.dbg.anchor.type* %llvm.dbg.compile_units to { }*),
11111111 uint 1,
11121112 uint 1,
1113 sbyte* getelementptr ([11 x sbyte]* %str4, int 0, int 0),
1114 sbyte* getelementptr ([21 x sbyte]* %str2, int 0, int 0),
1115 sbyte* getelementptr ([33 x sbyte]* %str3, int 0, int 0) }, section "llvm.metadata"
1113 i8* getelementptr ([11 x i8]* %str4, int 0, int 0),
1114 i8* getelementptr ([21 x i8]* %str2, int 0, int 0),
1115 i8* getelementptr ([33 x i8]* %str3, int 0, int 0) }, section "llvm.metadata"
11161116
11171117 ;;
11181118 ;; Define each of the strings used in the compile units.
11191119 ;;
1120 %str1 = internal constant [13 x sbyte] c"MySource.cpp\00", section "llvm.metadata";
1121 %str2 = internal constant [21 x sbyte] c"/Users/mine/sources/\00", section "llvm.metadata";
1122 %str3 = internal constant [33 x sbyte] c"4.0.1 LLVM (LLVM research group)\00", section "llvm.metadata";
1123 %str4 = internal constant [11 x sbyte] c"MyHeader.h\00", section "llvm.metadata";
1120 %str1 = internal constant [13 x i8] c"MySource.cpp\00", section "llvm.metadata";
1121 %str2 = internal constant [21 x i8] c"/Users/mine/sources/\00", section "llvm.metadata";
1122 %str3 = internal constant [33 x i8] c"4.0.1 LLVM (LLVM research group)\00", section "llvm.metadata";
1123 %str4 = internal constant [11 x i8] c"MyHeader.h\00", section "llvm.metadata";
11241124 ...
11251125
11261126
11481148 ;; compile unit.
11491149 ;;
11501150 %llvm.dbg.anchor.type = type { uint, uint }
1151 %llvm.dbg.global_variable.type = type { uint, { }*, { }*, sbyte*, { }*, uint, { }*, bool, bool, { }*, uint }
1152 %llvm.dbg.basictype.type = type { uint, { }*, sbyte*, { }*, int, uint, uint, uint, uint }
1151 %llvm.dbg.global_variable.type = type { uint, { }*, { }*, i8*, { }*, uint, { }*, bool, bool, { }*, uint }
1152 %llvm.dbg.basictype.type = type { uint, { }*, i8*, { }*, int, uint, uint, uint, uint }
11531153 %llvm.dbg.compile_unit.type = ...
11541154 ...
11551155 ;;
11721172 uint add(uint 52, uint 262144),
11731173 { }* cast (%llvm.dbg.anchor.type* %llvm.dbg.global_variables to { }*),
11741174 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1175 sbyte* getelementptr ([9 x sbyte]* %str1, int 0, int 0),
1176 sbyte* getelementptr ([1 x sbyte]* %str2, int 0, int 0),
1175 i8* getelementptr ([9 x i8]* %str1, int 0, int 0),
1176 i8* getelementptr ([1 x i8]* %str2, int 0, int 0),
11771177 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
11781178 uint 1,
11791179 { }* cast (%llvm.dbg.basictype.type* %llvm.dbg.basictype to { }*),
11881188 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
11891189 uint add(uint 36, uint 262144),
11901190 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1191 sbyte* getelementptr ([4 x sbyte]* %str3, int 0, int 0),
1191 i8* getelementptr ([4 x i8]* %str3, int 0, int 0),
11921192 { }* null,
11931193 int 0,
11941194 uint 32,
11991199 ;;
12001200 ;; Define the names of the global variable and basic type.
12011201 ;;
1202 %str1 = internal constant [9 x sbyte] c"MyGlobal\00", section "llvm.metadata"
1203 %str2 = internal constant [1 x sbyte] c"\00", section "llvm.metadata"
1204 %str3 = internal constant [4 x sbyte] c"int\00", section "llvm.metadata"
1202 %str1 = internal constant [9 x i8] c"MyGlobal\00", section "llvm.metadata"
1203 %str2 = internal constant [1 x i8] c"\00", section "llvm.metadata"
1204 %str3 = internal constant [4 x i8] c"int\00", section "llvm.metadata"
12051205
12061206
12071207
12291229 ;; descriptor, one for the global's basic type and one for the subprogram's
12301230 ;; compile unit.
12311231 ;;
1232 %llvm.dbg.subprogram.type = type { uint, { }*, { }*, sbyte*, { }*, bool, bool }
1232 %llvm.dbg.subprogram.type = type { uint, { }*, { }*, i8*, { }*, bool, bool }
12331233 %llvm.dbg.anchor.type = type { uint, uint }
12341234 %llvm.dbg.compile_unit.type = ...
12351235
12471247 uint add(uint 46, uint 262144),
12481248 { }* cast (%llvm.dbg.anchor.type* %llvm.dbg.subprograms to { }*),
12491249 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1250 sbyte* getelementptr ([5 x sbyte]* %str1, int 0, int 0),
1251 sbyte* getelementptr ([1 x sbyte]* %str2, int 0, int 0),
1250 i8* getelementptr ([5 x i8]* %str1, int 0, int 0),
1251 i8* getelementptr ([1 x i8]* %str2, int 0, int 0),
12521252 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
12531253 uint 1,
12541254 { }* null,
12581258 ;;
12591259 ;; Define the name of the subprogram.
12601260 ;;
1261 %str1 = internal constant [5 x sbyte] c"main\00", section "llvm.metadata"
1262 %str2 = internal constant [1 x sbyte] c"\00", section "llvm.metadata"
1261 %str1 = internal constant [5 x i8] c"main\00", section "llvm.metadata"
1262 %str2 = internal constant [1 x i8] c"\00", section "llvm.metadata"
12631263
12641264 ;;
12651265 ;; Define the subprogram itself.
12661266 ;;
1267 int %main(int %argc, sbyte** %argv) {
1267 int %main(int %argc, i8** %argv) {
12681268 ...
12691269 }
12701270
12931293 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
12941294 uint add(uint 36, uint 262144),
12951295 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1296 sbyte* getelementptr ([5 x sbyte]* %str1, int 0, int 0),
1296 i8* getelementptr ([5 x i8]* %str1, int 0, int 0),
12971297 { }* null,
12981298 int 0,
12991299 uint 32,
13001300 uint 32,
13011301 uint 0,
13021302 uint 2 }, section "llvm.metadata"
1303 %str1 = internal constant [5 x sbyte] c"bool\00", section "llvm.metadata"
1303 %str1 = internal constant [5 x i8] c"bool\00", section "llvm.metadata"
13041304
13051305
13061306
13161316 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
13171317 uint add(uint 36, uint 262144),
13181318 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1319 sbyte* getelementptr ([5 x sbyte]* %str1, int 0, int 0),
1319 i8* getelementptr ([5 x i8]* %str1, int 0, int 0),
13201320 { }* null,
13211321 int 0,
13221322 uint 8,
13231323 uint 8,
13241324 uint 0,
13251325 uint 6 }, section "llvm.metadata"
1326 %str1 = internal constant [5 x sbyte] c"char\00", section "llvm.metadata"
1326 %str1 = internal constant [5 x i8] c"char\00", section "llvm.metadata"
13271327
13281328
13291329
13391339 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
13401340 uint add(uint 36, uint 262144),
13411341 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1342 sbyte* getelementptr ([14 x sbyte]* %str1, int 0, int 0),
1342 i8* getelementptr ([14 x i8]* %str1, int 0, int 0),
13431343 { }* null,
13441344 int 0,
13451345 uint 8,
13461346 uint 8,
13471347 uint 0,
13481348 uint 8 }, section "llvm.metadata"
1349 %str1 = internal constant [14 x sbyte] c"unsigned char\00", section "llvm.metadata"
1349 %str1 = internal constant [14 x i8] c"unsigned char\00", section "llvm.metadata"
13501350
13511351
13521352
13621362 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
13631363 uint add(uint 36, uint 262144),
13641364 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1365 sbyte* getelementptr ([10 x sbyte]* %str1, int 0, int 0),
1365 i8* getelementptr ([10 x i8]* %str1, int 0, int 0),
13661366 { }* null,
13671367 int 0,
13681368 uint 16,
13691369 uint 16,
13701370 uint 0,
13711371 uint 5 }, section "llvm.metadata"
1372 %str1 = internal constant [10 x sbyte] c"short int\00", section "llvm.metadata"
1372 %str1 = internal constant [10 x i8] c"short int\00", section "llvm.metadata"
13731373
13741374
13751375
13851385 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
13861386 uint add(uint 36, uint 262144),
13871387 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1388 sbyte* getelementptr ([19 x sbyte]* %str1, int 0, int 0),
1388 i8* getelementptr ([19 x i8]* %str1, int 0, int 0),
13891389 { }* null,
13901390 int 0,
13911391 uint 16,
13921392 uint 16,
13931393 uint 0,
13941394 uint 7 }, section "llvm.metadata"
1395 %str1 = internal constant [19 x sbyte] c"short unsigned int\00", section "llvm.metadata"
1395 %str1 = internal constant [19 x i8] c"short unsigned int\00", section "llvm.metadata"
13961396
13971397
13981398
14081408 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
14091409 uint add(uint 36, uint 262144),
14101410 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1411 sbyte* getelementptr ([4 x sbyte]* %str1, int 0, int 0),
1411 i8* getelementptr ([4 x i8]* %str1, int 0, int 0),
14121412 { }* null,
14131413 int 0,
14141414 uint 32,
14151415 uint 32,
14161416 uint 0,
14171417 uint 5 }, section "llvm.metadata"
1418 %str1 = internal constant [4 x sbyte] c"int\00", section "llvm.metadata"
1418 %str1 = internal constant [4 x i8] c"int\00", section "llvm.metadata"
14191419
14201420
14211421
14311431 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
14321432 uint add(uint 36, uint 262144),
14331433 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1434 sbyte* getelementptr ([13 x sbyte]* %str1, int 0, int 0),
1434 i8* getelementptr ([13 x i8]* %str1, int 0, int 0),
14351435 { }* null,
14361436 int 0,
14371437 uint 32,
14381438 uint 32,
14391439 uint 0,
14401440 uint 7 }, section "llvm.metadata"
1441 %str1 = internal constant [13 x sbyte] c"unsigned int\00", section "llvm.metadata"
1441 %str1 = internal constant [13 x i8] c"unsigned int\00", section "llvm.metadata"
14421442
14431443
14441444
14541454 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
14551455 uint add(uint 36, uint 262144),
14561456 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1457 sbyte* getelementptr ([14 x sbyte]* %str1, int 0, int 0),
1457 i8* getelementptr ([14 x i8]* %str1, int 0, int 0),
14581458 { }* null,
14591459 int 0,
14601460 uint 64,
14611461 uint 64,
14621462 uint 0,
14631463 uint 5 }, section "llvm.metadata"
1464 %str1 = internal constant [14 x sbyte] c"long long int\00", section "llvm.metadata"
1464 %str1 = internal constant [14 x i8] c"long long int\00", section "llvm.metadata"
14651465
14661466
14671467
14771477 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
14781478 uint add(uint 36, uint 262144),
14791479 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1480 sbyte* getelementptr ([23 x sbyte]* %str1, int 0, int 0),
1480 i8* getelementptr ([23 x i8]* %str1, int 0, int 0),
14811481 { }* null,
14821482 int 0,
14831483 uint 64,
14841484 uint 64,
14851485 uint 0,
14861486 uint 7 }, section "llvm.metadata"
1487 %str1 = internal constant [23 x sbyte] c"long long unsigned int\00", section "llvm.metadata"
1487 %str1 = internal constant [23 x 8] c"long long unsigned int\00", section "llvm.metadata"
14881488
14891489
14901490
15001500 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
15011501 uint add(uint 36, uint 262144),
15021502 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1503 sbyte* getelementptr ([6 x sbyte]* %str1, int 0, int 0),
1503 i8* getelementptr ([6 x i8]* %str1, int 0, int 0),
15041504 { }* null,
15051505 int 0,
15061506 uint 32,
15071507 uint 32,
15081508 uint 0,
15091509 uint 4 }, section "llvm.metadata"
1510 %str1 = internal constant [6 x sbyte] c"float\00", section "llvm.metadata"
1510 %str1 = internal constant [6 x i8] c"float\00", section "llvm.metadata"
15111511
15121512
15131513
15231523 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
15241524 uint add(uint 36, uint 262144),
15251525 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1526 sbyte* getelementptr ([7 x sbyte]* %str1, int 0, int 0),
1526 8* getelementptr ([7 x 8]* %str1, int 0, int 0),
15271527 { }* null,
15281528 int 0,
15291529 uint 64,
15301530 uint 64,
15311531 uint 0,
15321532 uint 4 }, section "llvm.metadata"
1533 %str1 = internal constant [7 x sbyte] c"double\00", section "llvm.metadata"
1533 %str1 = internal constant [7 x 8] c"double\00", section "llvm.metadata"
15341534
15351535
15361536
15571557 %llvm.dbg.derivedtype1 = internal constant %llvm.dbg.derivedtype.type {
15581558 uint add(uint 22, uint 262144),
15591559 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1560 sbyte* getelementptr ([7 x sbyte]* %str1, int 0, int 0),
1560 i8* getelementptr ([7 x 8]* %str1, int 0, int 0),
15611561 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
15621562 int 1,
15631563 uint 0,
15641564 uint 0,
15651565 uint 0,
15661566 { }* cast (%llvm.dbg.derivedtype.type* %llvm.dbg.derivedtype2 to { }*) }, section "llvm.metadata"
1567 %str1 = internal constant [7 x sbyte] c"IntPtr\00", section "llvm.metadata"
1567 %str1 = internal constant [7 x 8] c"IntPtr\00", section "llvm.metadata"
15681568
15691569 ;;
15701570 ;; Define the pointer type.
15721572 %llvm.dbg.derivedtype2 = internal constant %llvm.dbg.derivedtype.type {
15731573 uint add(uint 15, uint 262144),
15741574 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1575 sbyte* null,
1575 i8* null,
15761576 { }* null,
15771577 int 0,
15781578 uint 32,
15861586 %llvm.dbg.derivedtype3 = internal constant %llvm.dbg.derivedtype.type {
15871587 uint add(uint 38, uint 262144),
15881588 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1589 sbyte* null,
1589 i8* null,
15901590 { }* null,
15911591 int 0,
15921592 uint 0,
16001600 %llvm.dbg.basictype1 = internal constant %llvm.dbg.basictype.type {
16011601 uint add(uint 36, uint 262144),
16021602 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1603 sbyte* getelementptr ([4 x sbyte]* %str2, int 0, int 0),
1603 8* getelementptr ([4 x 8]* %str2, int 0, int 0),
16041604 { }* null,
16051605 int 0,
16061606 uint 32,
16071607 uint 32,
16081608 uint 0,
16091609 uint 5 }, section "llvm.metadata"
1610 %str2 = internal constant [4 x sbyte] c"int\00", section "llvm.metadata"
1610 %str2 = internal constant [4 x 8] c"int\00", section "llvm.metadata"
16111611
16121612
16131613
16381638 %llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
16391639 uint add(uint 36, uint 262144),
16401640 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1641 sbyte* getelementptr ([13 x sbyte]* %str1, int 0, int 0),
1641 i8* getelementptr ([13 x i8]* %str1, int 0, int 0),
16421642 { }* null,
16431643 int 0,
16441644 uint 32,
16451645 uint 32,
16461646 uint 0,
16471647 uint 7 }, section "llvm.metadata"
1648 %str1 = internal constant [13 x sbyte] c"unsigned int\00", section "llvm.metadata"
1648 %str1 = internal constant [13 x i8] c"unsigned int\00", section "llvm.metadata"
16491649
16501650 ;;
16511651 ;; Define composite type for struct Color.
16531653 %llvm.dbg.compositetype = internal constant %llvm.dbg.compositetype.type {
16541654 uint add(uint 19, uint 262144),
16551655 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1656 sbyte* getelementptr ([6 x sbyte]* %str2, int 0, int 0),
1656 i8* getelementptr ([6 x i8]* %str2, int 0, int 0),
16571657 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
16581658 int 1,
16591659 uint 96,
16611661 uint 0,
16621662 { }* null,
16631663 { }* cast ([3 x { }*]* %llvm.dbg.array to { }*) }, section "llvm.metadata"
1664 %str2 = internal constant [6 x sbyte] c"Color\00", section "llvm.metadata"
1664 %str2 = internal constant [6 x i8] c"Color\00", section "llvm.metadata"
16651665
16661666 ;;
16671667 ;; Define the Red field.
16691669 %llvm.dbg.derivedtype1 = internal constant %llvm.dbg.derivedtype.type {
16701670 uint add(uint 13, uint 262144),
16711671 { }* null,
1672 sbyte* getelementptr ([4 x sbyte]* %str3, int 0, int 0),
1672 i8* getelementptr ([4 x i8]* %str3, int 0, int 0),
16731673 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
16741674 int 2,
16751675 uint 32,
16761676 uint 32,
16771677 uint 0,
16781678 { }* cast (%llvm.dbg.basictype.type* %llvm.dbg.basictype to { }*) }, section "llvm.metadata"
1679 %str3 = internal constant [4 x sbyte] c"Red\00", section "llvm.metadata"
1679 %str3 = internal constant [4 x i8] c"Red\00", section "llvm.metadata"
16801680
16811681 ;;
16821682 ;; Define the Green field.
16841684 %llvm.dbg.derivedtype2 = internal constant %llvm.dbg.derivedtype.type {
16851685 uint add(uint 13, uint 262144),
16861686 { }* null,
1687 sbyte* getelementptr ([6 x sbyte]* %str4, int 0, int 0),
1687 i8* getelementptr ([6 x i8]* %str4, int 0, int 0),
16881688 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
16891689 int 3,
16901690 uint 32,
16911691 uint 32,
16921692 uint 32,
16931693 { }* cast (%llvm.dbg.basictype.type* %llvm.dbg.basictype to { }*) }, section "llvm.metadata"
1694 %str4 = internal constant [6 x sbyte] c"Green\00", section "llvm.metadata"
1694 %str4 = internal constant [6 x i8] c"Green\00", section "llvm.metadata"
16951695
16961696 ;;
16971697 ;; Define the Blue field.
16991699 %llvm.dbg.derivedtype3 = internal constant %llvm.dbg.derivedtype.type {
17001700 uint add(uint 13, uint 262144),
17011701 { }* null,
1702 sbyte* getelementptr ([5 x sbyte]* %str5, int 0, int 0),
1702 i8* getelementptr ([5 x i8]* %str5, int 0, int 0),
17031703 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
17041704 int 4,
17051705 uint 32,
17061706 uint 32,
17071707 uint 64,
17081708 { }* cast (%llvm.dbg.basictype.type* %llvm.dbg.basictype to { }*) }, section "llvm.metadata"
1709 %str5 = internal constant [5 x sbyte] c"Blue\00", section "llvm.metadata"
1709 %str5 = internal constant [5 x 8] c"Blue\00", section "llvm.metadata"
17101710
17111711 ;;
17121712 ;; Define the array of fields used by the composite type Color.
17451745 %llvm.dbg.compositetype = internal constant %llvm.dbg.compositetype.type {
17461746 uint add(uint 4, uint 262144),
17471747 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
1748 sbyte* getelementptr ([6 x sbyte]* %str1, int 0, int 0),
1748 i8* getelementptr ([6 x i8]* %str1, int 0, int 0),
17491749 { }* cast (%llvm.dbg.compile_unit.type* %llvm.dbg.compile_unit to { }*),
17501750 int 1,
17511751 uint 32,
17531753 uint 0,
17541754 { }* null,
17551755 { }* cast ([3 x { }*]* %llvm.dbg.array to { }*) }, section "llvm.metadata"
1756 %str1 = internal constant [6 x sbyte] c"Trees\00", section "llvm.metadata"
1756 %str1 = internal constant [6 x i8] c"Trees\00", section "llvm.metadata"
17571757
17581758 ;;
17591759 ;; Define Spruce enumerator.
17601760 ;;
17611761 %llvm.dbg.enumerator1 = internal constant %llvm.dbg.enumerator.type {
17621762 uint add(uint 40, uint 262144),
1763 sbyte* getelementptr ([7 x sbyte]* %str2, int 0, int 0),
1763 i8* getelementptr ([7 x i8]* %str2, int 0, int 0),
17641764 int 100 }, section "llvm.metadata"
1765 %str2 = internal constant [7 x sbyte] c"Spruce\00", section "llvm.metadata"
1765 %str2 = internal constant [7 x i8] c"Spruce\00", section "llvm.metadata"
17661766
17671767 ;;
17681768 ;; Define Oak enumerator.
17691769 ;;
17701770 %llvm.dbg.enumerator2 = internal constant %llvm.dbg.enumerator.type {
17711771 uint add(uint 40, uint 262144),
1772 sbyte* getelementptr ([4 x sbyte]* %str3, int 0, int 0),
1772 i8* getelementptr ([4 x i8]* %str3, int 0, int 0),
17731773 int 200 }, section "llvm.metadata"
1774 %str3 = internal constant [4 x sbyte] c"Oak\00", section "llvm.metadata"
1774 %str3 = internal constant [4 x i8] c"Oak\00", section "llvm.metadata"
17751775
17761776 ;;
17771777 ;; Define Maple enumerator.
17781778 ;;
17791779 %llvm.dbg.enumerator3 = internal constant %llvm.dbg.enumerator.type {
17801780 uint add(uint 40, uint 262144),
1781 sbyte* getelementptr ([6 x sbyte]* %str4, int 0, int 0),
1781 i8* getelementptr ([6 x i8]* %str4, int 0, int 0),
17821782 int 300 }, section "llvm.metadata"
1783 %str4 = internal constant [6 x sbyte] c"Maple\00", section "llvm.metadata"
1783 %str4 = internal constant [6 x i8] c"Maple\00", section "llvm.metadata"
17841784
17851785 ;;
17861786 ;; Define the array of enumerators used by composite type Trees.