mewmew / uc

A compiler for the µC language.
57 stars 5 forks source link

ir: "NewGetElementPtr: support for type *types.Pointer not yet implemented" #67

Closed mewmew closed 8 years ago

mewmew commented 8 years ago

Pointer support

uclang testdata/quiet/semantic/s03.c

uclang testdata/quiet/semantic/s03.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc420010590, 0x61cdc0, 0xc42000a9c0, 0xc42000ab00, 0x2, 0x2, 0xc42000ee1b, 0x25, 0x1b)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc

uclang testdata/quiet/semantic/s04.c

uclang testdata/quiet/semantic/s04.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc420099410, 0x61cdc0, 0xc42000aae0, 0xc42000ac20, 0x2, 0x2, 0xc42000ee1b, 0x25, 0x1b)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc

uclang testdata/quiet/rtl/r05.c

uclang testdata/quiet/rtl/r05.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc4200a5370, 0x61cdc0, 0xc420068980, 0xc420068ac0, 0x2, 0x2, 0x10ce945f10f37f5e, 0x90ea7d6110d55f60, 0x90cc5d6310b73f62)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc

uclang testdata/noisy/simple/sim09.c

uclang testdata/noisy/simple/sim09.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc4200ba2e0, 0x61cdc0, 0xc4200bcae0, 0xc4200bcc80, 0x2, 0x2, 0x1, 0xc42008a240, 0x86)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc

uclang testdata/noisy/simple/sim11.c

uclang testdata/noisy/simple/sim11.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc420085aa0, 0x61cdc0, 0xc42000b660, 0xc42000b7a0, 0x2, 0x2, 0xc42008e280, 0xc4200a4280, 0x40)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc

uclang testdata/noisy/advanced/8queens.c

uclang testdata/noisy/advanced/8queens.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc4200ad3b0, 0x61cdc0, 0xc4200a38c0, 0xc4200a3cc0, 0x2, 0x2, 0x2, 0xc4200c0200, 0x83)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc

uclang testdata/noisy/advanced/bubble.c

uclang testdata/noisy/advanced/bubble.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc4200c08a0, 0x61cdc0, 0xc42000bd40, 0xc4200d6620, 0x2, 0x2, 0x2, 0x61ce01, 0x55f1a0)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc

uclang testdata/noisy/advanced/quick.c

uclang testdata/noisy/advanced/quick.c
panic: instruction.NewGetElementPtr: support for type *types.Pointer not yet implemented

github.com/llir/llvm/ir/instruction.NewGetElementPtr(0x61bf00, 0xc4200a6b30, 0x61cdc0, 0xc4200c2b00, 0xc4200c3020, 0x2, 0x2, 0xc420012ab0, 0x0, 0x0)
    /home/u/Desktop/go/src/github.com/llir/llvm/ir/instruction/memory.go:173 +0x3bc