[LLVMdev] trying to build llvm-gcc in linux/amd64

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Sep 13 06:24:27 PDT 2006


> Can you gdb cc1, run until the assertion, then mail the output of "call
> debug_tree(exp)"?  Also, can you include a stack trace with line numbers
> as well?

The problem with debug_tree was actually with gdb. Modifing the code
produces this output when trying to ouput Arg1T. We must pass a
DestLoc for Emit when va_list is implemented with a structure?

 <addr_expr 0x2b6656a500c0
    type <pointer_type 0x2b66569981c0
        type <record_type 0x2b6656997a80 __va_list_tag sizes-gimplified BLK
            size <integer_cst 0x2b66569928d0 constant invariant 192>
            unit size <integer_cst 0x2b6656992870 constant invariant 24>
            align 64 symtab 18729424 alias set -1 fields <field_decl
0x2b6656997c40 gp_offset>
            pointer_to_this <pointer_type 0x2b66569981c0> chain
<type_decl 0x2b6656997b60 __va_list_tag>>
        unsigned DI
        size <integer_cst 0x2b665697cba0 constant invariant 64>
        unit size <integer_cst 0x2b665697cbd0 constant invariant 8>
        align 64 symtab 18731200 alias set -1>
    invariant
    arg 0 <var_decl 0x2b6656a42700 va1
        type <array_type 0x2b66569982a0 __builtin_va_list type
<record_type 0x2b6656997a80 __va_list_tag>
            sizes-gimplified BLK size <integer_cst 0x2b66569928d0 192>
unit size <integer_cst 0x2b6656992870 24>
            align 64 symtab 0 alias set -1 domain <integer_type 0x2b6656998000>>
        addressable used asm-frame-size 0 BLK file test.i line 3 size
<integer_cst 0x2b66569928d0 192> unit size <integer_cst 0x2b6656992870
24>
        align 128 context <function_decl 0x2b6656a42460 f>
        LLVM: [1 x %struct.__va_list_tag]* %va1
        chain <var_decl 0x2b6656a427e0 va2 type <array_type
0x2b66569982a0 __builtin_va_list>
            addressable used asm-frame-size 0 BLK file test.i line 3
size <integer_cst 0x2b66569928d0 192> unit size <integer_cst
0x2b6656992870 24>
            align 128 context <function_decl 0x2b6656a42460 f>
            LLVM: [1 x %struct.__va_list_tag]* %va2>>>



Rafael



More information about the llvm-dev mailing list