go-llvm / llgo

LLVM-based compiler for Go
Other
1.26k stars 80 forks source link

llgo installation guide #26

Closed ghost closed 10 years ago

ghost commented 11 years ago

http://linuxdeveloper.blogspot.in/2013/01/using-llvm-based-go-compiler-llgo.html

This is not a issue but just wanted to let you know.

axw commented 11 years ago

Thanks.

FYI, the installation procedure will change in the future. There's cmd/llgo-dist that is intended to build a complete llgo distribution. It's still under development, as things are still changing.

quarnster commented 11 years ago

Is it under too much development for others to check it out? I don't expect a fully working llvm based compiler, I'm just curious about its progress. I know about the wiki page, but it would be great if there were some milestones set up here at github to make it easier for people like me with no insight into the code to see how far along it is and how it's progressing.

10:30 ~/code/go/src/github.com/axw/llgo/cmd/llgo-dist $ ./llgo-dist 
2013/02/09 10:30:12 LLVM version: 3.3svn
2013/02/09 10:30:12 LLVM executables directory: /usr/local/bin
2013/02/09 10:30:12 LLVM library directory: /usr/local/lib
2013/02/09 10:30:12 LLVM LDFLAGS: -L/usr/local/lib  -lpthread -lm
2013/02/09 10:30:12 LLVM CFLAGS: -I/usr/local/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -fno-common
2013/02/09 10:30:12 Building llgo
2013/02/09 10:30:13 GOARCH = amd64, GOOS = darwin
2013/02/09 10:30:13 Built /Users/quarnster/code/go/bin/llgo
2013/02/09 10:30:13 Generating syscall package
2013/02/09 10:30:13 - bpf_bsd.go
2013/02/09 10:30:13 - env_unix.go
2013/02/09 10:30:13 - exec_bsd.go
2013/02/09 10:30:13 - exec_unix.go
2013/02/09 10:30:13 - race0.go
2013/02/09 10:30:13 - route_bsd.go
2013/02/09 10:30:13 - route_darwin.go
2013/02/09 10:30:13 - sockcmsg_unix.go
2013/02/09 10:30:13 - str.go
2013/02/09 10:30:13 - syscall.go
2013/02/09 10:30:13 - syscall_bsd.go
2013/02/09 10:30:13 - syscall_darwin.go
2013/02/09 10:30:13 - syscall_darwin_amd64.go
2013/02/09 10:30:13 - syscall_unix.go
2013/02/09 10:30:13 - zerrors_darwin_amd64.go
2013/02/09 10:30:13 - zsyscall_darwin_amd64.go
2013/02/09 10:30:13 - zsysnum_darwin_amd64.go
2013/02/09 10:30:13 - ztypes_darwin_amd64.go
2013/02/09 10:30:13 Generating math package
2013/02/09 10:30:13 - abs.go
2013/02/09 10:30:13 - acosh.go
2013/02/09 10:30:13 - asin.go
2013/02/09 10:30:13 - asinh.go
2013/02/09 10:30:13 - atan.go
2013/02/09 10:30:13 - atan2.go
2013/02/09 10:30:13 - atanh.go
2013/02/09 10:30:13 - bits.go
2013/02/09 10:30:13 - cbrt.go
2013/02/09 10:30:13 - const.go
2013/02/09 10:30:13 - copysign.go
2013/02/09 10:30:13 - dim.go
2013/02/09 10:30:13 - erf.go
2013/02/09 10:30:13 - exp.go
2013/02/09 10:30:13 - expm1.go
2013/02/09 10:30:13 - floor.go
2013/02/09 10:30:13 - frexp.go
2013/02/09 10:30:13 - gamma.go
2013/02/09 10:30:13 - hypot.go
2013/02/09 10:30:13 - j0.go
2013/02/09 10:30:13 - j1.go
2013/02/09 10:30:13 - jn.go
2013/02/09 10:30:13 - ldexp.go
2013/02/09 10:30:13 - lgamma.go
2013/02/09 10:30:13 - log.go
2013/02/09 10:30:13 - log10.go
2013/02/09 10:30:13 - log1p.go
2013/02/09 10:30:13 - logb.go
2013/02/09 10:30:13 - mod.go
2013/02/09 10:30:13 - modf.go
2013/02/09 10:30:13 - nextafter.go
2013/02/09 10:30:13 - pow.go
2013/02/09 10:30:13 - pow10.go
2013/02/09 10:30:13 - remainder.go
2013/02/09 10:30:13 - signbit.go
2013/02/09 10:30:13 - sin.go
2013/02/09 10:30:13 - sincos.go
2013/02/09 10:30:13 - sinh.go
2013/02/09 10:30:13 - sqrt.go
2013/02/09 10:30:13 - tan.go
2013/02/09 10:30:13 - tanh.go
2013/02/09 10:30:13 - unsafe.go
2013/02/09 10:30:13 Building runtime
2013/02/09 10:30:13 - runtime
import "github.com/axw/llgo/pkg/runtime": unknown compiler "llgo"
10:30 ~/code/go/src/github.com/axw/llgo/cmd/llgo-dist $ 
minux commented 11 years ago

the main development branch is go1.1 which aims to make llgo up-to-date with the upcoming Go 1.1

PS: you need to install Go tip to try it out.

quarnster commented 11 years ago

Yeah, the previous log is with go tip and the go1.1 branch.

13:35 ~/code/go/src/github.com/axw/llgo $ git branch
* go1.1
  master
13:35 ~/code/go/src/github.com/axw/llgo $ go version
go version devel +85d759cdb33d Sat Feb 09 08:19:09 2013 +0800 darwin/amd64
13:35 ~/code/go/src/github.com/axw/llgo $
axw commented 11 years ago

Sorry, I think I broke llgo-dist in the most recent commits. I won't have any time to do any work on llgo in the next couple of weeks (at least). It's probably sufficient to comment out the line in buildruntime.go that sets the Compiler field of the go/build Context structure.

axw commented 11 years ago

Sorry I realised later that things still won't work for you on go1.1, as there are some changes to go/types required. I haven't yet put together a CL to address them upstream.

@quarnster, to address your original questions: unless you're going to invest a bit of effort patching go/types and so forth, it might be a little too green to check out go1.1. The master branch should be okay to play with, but is out of date.

Milestones would be ideal, the trick is documenting them without boring myself to the point that I don't want to work on llgo anymore :) I'll have a go at setting something up when I have a few spare cycles again.

quarnster commented 11 years ago

Milestones would be ideal, the trick is documenting them without boring myself to the point that I don't want to work on llgo anymore :) I'll have a go at setting something up when I have a few spare cycles again.

I'm not interested in lots of documentation (the wiki is already too verbose imo), but if you open up issues for some of the bits you know aren't done yet you can use github's milestone feature to define some sort of vison and then just include the issue's #-tag in the commit messages and we who don't know the ins and outs of the project will get a nice progress bar with the bird's perspective of the status.

axw commented 11 years ago

@quarnster Sounds good. Thanks, I wasn't aware of this feature of Github.

quarnster commented 11 years ago

I'm having problems with llgo-dist, any ideas what might be the cause and what might fix it?

17:19 ~/code/go/src/github.com/axw/llgo/cmd/llgo-dist $ go build && ./llgo-dist
2013/05/18 17:20:06 LLVM version: 3.4svn
2013/05/18 17:20:06 LLVM executables directory: /usr/local/bin
2013/05/18 17:20:06 LLVM library directory: /usr/local/lib
2013/05/18 17:20:06 LLVM libraries: -lLLVMInstrumentation -lLLVMArchive -lLLVMLinker -lLLVMIRReader -lLLVMBitReader -lLLVMAsmParser -lLLVMDebugInfo -lLLVMOption -lLLVMipo -lLLVMVectorize -lLLVMBitWriter -lLLVMTableGen -lLLVMSystemZDisassembler -lLLVMSystemZCodeGen -lLLVMSystemZAsmParser -lLLVMSystemZDesc -lLLVMSystemZInfo -lLLVMSystemZAsmPrinter -lLLVMHexagonCodeGen -lLLVMHexagonAsmPrinter -lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXInfo -lLLVMNVPTXAsmPrinter -lLLVMMBlazeDisassembler -lLLVMMBlazeCodeGen -lLLVMMBlazeDesc -lLLVMMBlazeAsmPrinter -lLLVMMBlazeAsmParser -lLLVMMBlazeInfo -lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMSP430AsmPrinter -lLLVMXCoreDisassembler -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMXCoreAsmPrinter -lLLVMMipsDisassembler -lLLVMMipsCodeGen -lLLVMMipsAsmParser -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter -lLLVMARMDisassembler -lLLVMARMCodeGen -lLLVMARMAsmParser -lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMAArch64Disassembler -lLLVMAArch64CodeGen -lLLVMAArch64AsmParser -lLLVMAArch64Desc -lLLVMAArch64Info -lLLVMAArch64AsmPrinter -lLLVMAArch64Utils -lLLVMPowerPCCodeGen -lLLVMPowerPCDesc -lLLVMPowerPCAsmPrinter -lLLVMPowerPCAsmParser -lLLVMPowerPCInfo -lLLVMSparcCodeGen -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCDisassembler -lLLVMMCParser -lLLVMInterpreter -lLLVMMCJIT -lLLVMJIT -lLLVMCodeGen -lLLVMObjCARCOpts -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport
2013/05/18 17:20:06 LLVM LDFLAGS: -L/usr/local/lib  -lz -lpthread -lm
2013/05/18 17:20:06 LLVM CFLAGS: -I/usr/local/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -fno-common
2013/05/18 17:20:06 Located static libraries
2013/05/18 17:20:06 Building llgo
2013/05/18 17:20:06 GOARCH = amd64, GOOS = darwin
2013/05/18 17:20:06 Built /Users/quarnster/code/go/bin/llgo
2013/05/18 17:20:06 Generating syscall package
2013/05/18 17:20:06 - bpf_bsd.go env_unix.go exec_bsd.go exec_unix.go race0.go route_bsd.go route_darwin.go sockcmsg_unix.go str.go syscall.go syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go syscall_unix.go zerrors_darwin_amd64.go zsyscall_darwin_amd64.go zsysnum_darwin_amd64.go ztypes_darwin_amd64.go
2013/05/18 17:20:06 Generating math package
2013/05/18 17:20:07 - abs.go acosh.go asin.go asinh.go atan.go atan2.go atanh.go bits.go cbrt.go const.go copysign.go dim.go erf.go exp.go expm1.go floor.go frexp.go gamma.go hypot.go j0.go j1.go jn.go ldexp.go lgamma.go log.go log10.go log1p.go logb.go mod.go modf.go nextafter.go pow.go pow10.go remainder.go signbit.go sin.go sincos.go sinh.go sqrt.go tan.go tanh.go unsafe.go
2013/05/18 17:20:07 Building runtime
2013/05/18 17:20:07 - runtime
2013/05/18 17:20:07 - syscall
Basic Block in function 'syscall.forkAndExecInChild' does not have terminator!
label %done77
LLVM ERROR: Broken module, no Basic Block terminator!
exit status 1
kortschak commented 11 years ago

Tried with 3.2 svn on ubuntu 12.04 amd64 and got the following:

$ llgo-dist 
2013/05/19 11:57:57 LLVM version: 3.2svn
2013/05/19 11:57:57 LLVM executables directory: /usr/local/bin
2013/05/19 11:57:57 LLVM library directory: /usr/local/lib
2013/05/19 11:57:57 LLVM libraries: -lLLVMAsmParser -lLLVMInstrumentation -lLLVMLinker -lLLVMArchive -lLLVMBitReader -lLLVMDebugInfo -lLLVMJIT -lLLVMipo -lLLVMVectorize -lLLVMBitWriter -lLLVMTableGen -lLLVMHexagonCodeGen -lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMHexagonAsmPrinter -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXInfo -lLLVMNVPTXAsmPrinter -lLLVMMBlazeCodeGen -lLLVMMBlazeDisassembler -lLLVMMBlazeDesc -lLLVMMBlazeAsmPrinter -lLLVMMBlazeAsmParser -lLLVMMBlazeInfo -lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMSP430AsmPrinter -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMCellSPUCodeGen -lLLVMCellSPUDesc -lLLVMCellSPUInfo -lLLVMMipsDisassembler -lLLVMMipsAsmParser -lLLVMMipsCodeGen -lLLVMMipsDesc -lLLVMMipsAsmPrinter -lLLVMMipsInfo -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMDisassembler -lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMPowerPCCodeGen -lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter -lLLVMSparcCodeGen -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Desc -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMX86Info -lLLVMMCDisassembler -lLLVMMCParser -lLLVMInterpreter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMMCJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport
2013/05/19 11:57:57 LLVM LDFLAGS: -L/usr/local/lib  -lpthread -ldl -lm
2013/05/19 11:57:57 LLVM CFLAGS: -I/usr/local/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -fPIC
2013/05/19 11:57:57 Located static libraries
2013/05/19 11:57:57 Building llgo
2013/05/19 11:57:59 GOARCH = amd64, GOOS = linux
2013/05/19 11:57:59 Built /home/xxxxxx/Development/bin/llgo
2013/05/19 11:57:59 Generating syscall package
2013/05/19 11:57:59 - env_unix.go exec_linux.go exec_unix.go lsf_linux.go netlink_linux.go race0.go sockcmsg_linux.go sockcmsg_unix.go str.go syscall.go syscall_linux.go syscall_linux_amd64.go syscall_unix.go zerrors_linux_amd64.go zsyscall_linux_amd64.go zsysnum_linux_amd64.go ztypes_linux_amd64.go
2013/05/19 11:57:59 Generating math package
2013/05/19 11:57:59 - abs.go acosh.go asin.go asinh.go atan.go atan2.go atanh.go bits.go cbrt.go const.go copysign.go dim.go erf.go exp.go expm1.go floor.go frexp.go gamma.go hypot.go j0.go j1.go jn.go ldexp.go lgamma.go log.go log10.go log1p.go logb.go mod.go modf.go nextafter.go pow.go pow10.go remainder.go signbit.go sin.go sincos.go sinh.go sqrt.go tan.go tanh.go unsafe.go
2013/05/19 11:57:59 Building runtime
2013/05/19 11:57:59 - runtime
SIGSEGV: segmentation violation
PC=0xa5d1c4
signal arrived during cgo execution

github.com/axw/gollvm/llvm._Cfunc_LLVMPositionBuilderAtEnd(0x401f8b0, 0x0)
    github.com/axw/gollvm/llvm/_obj/_cgo_defun.c:4361 +0x2f
github.com/axw/gollvm/llvm.Builder.SetInsertPointAtEnd(0x401f8b0, 0x0)
    github.com/axw/gollvm/llvm/_obj/analysis.cgo1.go:1420 +0x2f
github.com/axw/llgo.(*compiler).buildFunction(0xc200091900, 0xc20056f660, 0x0, 0xc200799320, 0xc200209640, ...)
    /home/kortschak/Development/src/github.com/axw/llgo/decl.go:188 +0xffc
github.com/axw/llgo.(*compiler).VisitFuncDecl(0xc200091900, 0xc2000e44e0, 0xc2000e44e0, 0xc2000e44e0)
    /home/kortschak/Development/src/github.com/axw/llgo/decl.go:220 +0x3d7
github.com/axw/llgo.(*compiler).VisitDecl(0xc200091900, 0xc2000e5280, 0xc2000e44e0, 0x0, 0x0, ...)
    /home/kortschak/Development/src/github.com/axw/llgo/decl.go:436 +0x284
github.com/axw/llgo.(*compiler).Compile(0xc200091900, 0xc2000e5080, 0xc200168800, 0x1a, 0x20, ...)
    /home/kortschak/Development/src/github.com/axw/llgo/compiler.go:274 +0x583
main.compileFiles(0xc2000e4180, 0xc200091900, 0xc20009a080, 0x1a, 0x1a, ...)
    /home/kortschak/Development/src/github.com/axw/llgo/llgo/llgo.go:113 +0x265
main.main()
    /home/kortschak/Development/src/github.com/axw/llgo/llgo/llgo.go:264 +0x36c

goroutine 2 [syscall]:
rax     0x38
rbx     0x401f8b0
rcx     0x7fc86bdc0478
rdx     0x0
rdi     0x38
rsi     0x0
rbp     0x7fffe5a451c0
rsp     0x7fffe5a451b0
r8      0x1
r9      0x7fc86bdcd000
r10     0x0
r11     0x2
r12     0x1875540
r13     0x3
r14     0xc2000c9100
r15     0xc2000ca000
rip     0xa5d1c4
rflags  0x10202
cs      0x33
fs      0x0
gs      0x0
exit status 2
axw commented 11 years ago

@quarnster Not sure, since it's 3.4 svn it could be anything. I'll try later on.

@kortschak That looks like a bug in llgo (not checking if there's a insert pos in effect) - not sure why it doesn't turn up for me. I'll put in a fix later, thanks.

quarnster commented 11 years ago

@axw, I get exactly the same thing with 3.2 (http://llvm.org/releases/3.2/llvm-3.2.src.tar.gz) too though, so it isn't 3.4 svn specific.

13:45 ~/code/go/src/github.com/axw/llgo/cmd/llgo-dist $ ./llgo-dist
2013/05/19 13:45:35 LLVM version: 3.2svn
2013/05/19 13:45:35 LLVM executables directory: /usr/local/bin
2013/05/19 13:45:35 LLVM library directory: /usr/local/lib
2013/05/19 13:45:35 LLVM libraries: -lLLVMAsmParser -lLLVMInstrumentation -lLLVMLinker -lLLVMArchive -lLLVMBitReader -lLLVMDebugInfo -lLLVMJIT -lLLVMipo -lLLVMVectorize -lLLVMBitWriter -lLLVMTableGen -lLLVMHexagonCodeGen -lLLVMHexagonAsmPrinter -lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXAsmPrinter -lLLVMNVPTXInfo -lLLVMMBlazeDisassembler -lLLVMMBlazeAsmParser -lLLVMMBlazeCodeGen -lLLVMMBlazeDesc -lLLVMMBlazeInfo -lLLVMMBlazeAsmPrinter -lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMSP430AsmPrinter -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMCellSPUCodeGen -lLLVMCellSPUDesc -lLLVMCellSPUInfo -lLLVMMipsDisassembler -lLLVMMipsAsmParser -lLLVMMipsCodeGen -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter -lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMPowerPCCodeGen -lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter -lLLVMSparcCodeGen -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Disassembler -lLLVMX86Desc -lLLVMX86AsmPrinter -lLLVMX86Info -lLLVMX86Utils -lLLVMMCDisassembler -lLLVMMCParser -lLLVMInterpreter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMMCJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport
2013/05/19 13:45:35 LLVM LDFLAGS: -L/usr/local/lib  -lpthread -lm
2013/05/19 13:45:35 LLVM CFLAGS: -I/usr/local/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -fno-common
2013/05/19 13:45:35 Located static libraries
2013/05/19 13:45:35 Building llgo
2013/05/19 13:45:36 GOARCH = amd64, GOOS = darwin
2013/05/19 13:45:36 Built /Users/quarnster/code/go/bin/llgo
2013/05/19 13:45:36 Generating syscall package
2013/05/19 13:45:36 - bpf_bsd.go env_unix.go exec_bsd.go exec_unix.go race0.go route_bsd.go route_darwin.go sockcmsg_unix.go str.go syscall.go syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go syscall_unix.go zerrors_darwin_amd64.go zsyscall_darwin_amd64.go zsysnum_darwin_amd64.go ztypes_darwin_amd64.go
2013/05/19 13:45:36 Generating math package
2013/05/19 13:45:36 - abs.go acosh.go asin.go asinh.go atan.go atan2.go atanh.go bits.go cbrt.go const.go copysign.go dim.go erf.go exp.go expm1.go floor.go frexp.go gamma.go hypot.go j0.go j1.go jn.go ldexp.go lgamma.go log.go log10.go log1p.go logb.go mod.go modf.go nextafter.go pow.go pow10.go remainder.go signbit.go sin.go sincos.go sinh.go sqrt.go tan.go tanh.go unsafe.go
2013/05/19 13:45:36 Building runtime
2013/05/19 13:45:36 - runtime
2013/05/19 13:45:36 - syscall
Basic Block in function 'syscall.forkAndExecInChild' does not have terminator!
label %done77
LLVM ERROR: Broken module, no Basic Block terminator!
exit status 1
axw commented 11 years ago

@quarnster Okay, that's odd. Is that building with the official Go 1.1 release?

quarnster commented 11 years ago

I've tried with both:

$ go version
go version devel +8cca28e940ea Sun May 05 02:23:19 2013 +0800 darwin/amd64

and

$ go version
go version go1.1 darwin/amd64

With both giving me the same result.

For reference:

14:33 / $ mkdir /tmp/go
14:33 / $ cd /tmp/go
14:33 /tmp/go $ uname -a
Darwin Thunder.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
14:33 /tmp/go $ go version
go version go1.1 darwin/amd64
14:33 /tmp/go $ set | grep GO
CGO_CFLAGS='-I/usr/local/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -fno-common'
CGO_LDFLAGS='-L/usr/local/lib  -lpthread -lm  -Wl,-L/usr/local/lib -lLLVM-3.2svn'
GOPATH=/tmp/go
14:34 /tmp/go $ go get github.com/axw/llgo/cmd/llgo-dist
14:34 /tmp/go $ ./bin/llgo-dist
2013/05/19 14:34:33 LLVM version: 3.2svn
2013/05/19 14:34:33 LLVM executables directory: /usr/local/bin
2013/05/19 14:34:33 LLVM library directory: /usr/local/lib
2013/05/19 14:34:33 LLVM libraries: -lLLVMAsmParser -lLLVMInstrumentation -lLLVMLinker -lLLVMArchive -lLLVMBitReader -lLLVMDebugInfo -lLLVMJIT -lLLVMipo -lLLVMVectorize -lLLVMBitWriter -lLLVMTableGen -lLLVMHexagonCodeGen -lLLVMHexagonAsmPrinter -lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXAsmPrinter -lLLVMNVPTXInfo -lLLVMMBlazeDisassembler -lLLVMMBlazeAsmParser -lLLVMMBlazeCodeGen -lLLVMMBlazeDesc -lLLVMMBlazeInfo -lLLVMMBlazeAsmPrinter -lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMSP430AsmPrinter -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMCellSPUCodeGen -lLLVMCellSPUDesc -lLLVMCellSPUInfo -lLLVMMipsDisassembler -lLLVMMipsAsmParser -lLLVMMipsCodeGen -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter -lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMPowerPCCodeGen -lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter -lLLVMSparcCodeGen -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Disassembler -lLLVMX86Desc -lLLVMX86AsmPrinter -lLLVMX86Info -lLLVMX86Utils -lLLVMMCDisassembler -lLLVMMCParser -lLLVMInterpreter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMMCJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport
2013/05/19 14:34:33 LLVM LDFLAGS: -L/usr/local/lib  -lpthread -lm
2013/05/19 14:34:33 LLVM CFLAGS: -I/usr/local/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -fno-common
2013/05/19 14:34:34 Located static libraries
2013/05/19 14:34:34 Building llgo
2013/05/19 14:34:43 GOARCH = amd64, GOOS = darwin
2013/05/19 14:34:43 Built /tmp/go/bin/llgo
2013/05/19 14:34:43 Generating syscall package
2013/05/19 14:34:43 - bpf_bsd.go env_unix.go exec_bsd.go exec_unix.go race0.go route_bsd.go route_darwin.go sockcmsg_unix.go str.go syscall.go syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go syscall_unix.go zerrors_darwin_amd64.go zsyscall_darwin_amd64.go zsysnum_darwin_amd64.go ztypes_darwin_amd64.go
2013/05/19 14:34:43 Generating math package
2013/05/19 14:34:43 - abs.go acosh.go asin.go asinh.go atan.go atan2.go atanh.go bits.go cbrt.go const.go copysign.go dim.go erf.go exp.go expm1.go floor.go frexp.go gamma.go hypot.go j0.go j1.go jn.go ldexp.go lgamma.go log.go log10.go log1p.go logb.go mod.go modf.go nextafter.go pow.go pow10.go remainder.go signbit.go sin.go sincos.go sinh.go sqrt.go tan.go tanh.go unsafe.go
2013/05/19 14:34:43 Building runtime
2013/05/19 14:34:43 - runtime
2013/05/19 14:34:43 - syscall
Basic Block in function 'syscall.forkAndExecInChild' does not have terminator!
label %done77
LLVM ERROR: Broken module, no Basic Block terminator!
exit status 1
14:34 /tmp/go $ ls -lR
total 0
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 bin/
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 pkg/
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 src/

./bin:
total 16656
-rwxr-xr-x  1 quarnster  wheel  5235100 19 Maj 14:34 llgo*
-rwxr-xr-x  1 quarnster  wheel  3287660 19 Maj 14:34 llgo-dist*

./pkg:
total 0
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 darwin_amd64/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 llgo/

./pkg/darwin_amd64:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 code.google.com/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 github.com/

./pkg/darwin_amd64/code.google.com:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 p/

./pkg/darwin_amd64/code.google.com/p:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 go.tools/

./pkg/darwin_amd64/code.google.com/p/go.tools:
total 0
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 go/

./pkg/darwin_amd64/code.google.com/p/go.tools/go:
total 3640
-rw-r--r--  1 quarnster  wheel   228212 19 Maj 14:34 exact.a
-rw-r--r--  1 quarnster  wheel  1632656 19 Maj 14:34 types.a

./pkg/darwin_amd64/github.com:
total 0
drwxr-xr-x  5 quarnster  wheel  170 19 Maj 14:34 axw/

./pkg/darwin_amd64/github.com/axw:
total 8008
drwxr-xr-x  3 quarnster  wheel      102 19 Maj 14:34 gollvm/
drwxr-xr-x  3 quarnster  wheel      102 19 Maj 14:34 llgo/
-rw-r--r--  1 quarnster  wheel  4099508 19 Maj 14:34 llgo.a

./pkg/darwin_amd64/github.com/axw/gollvm:
total 4400
-rw-r--r--  1 quarnster  wheel  2250792 19 Maj 14:34 llvm.a

./pkg/darwin_amd64/github.com/axw/llgo:
total 56
-rw-r--r--  1 quarnster  wheel  26168 19 Maj 14:34 build.a

./pkg/llgo:
total 0
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 x86_64-unknown-darwin/

./pkg/llgo/x86_64-unknown-darwin:
total 96
-rw-r--r--  1 quarnster  wheel  48336 19 Maj 14:34 runtime.bc
-rw-r--r--  1 quarnster  wheel      0 19 Maj 14:34 syscall.bc

./src:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 code.google.com/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 github.com/

./src/code.google.com:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 p/

./src/code.google.com/p:
total 0
drwxr-xr-x  14 quarnster  wheel  476 19 Maj 14:34 go.tools/

./src/code.google.com/p/go.tools:
total 48
-rw-r--r--   1 quarnster  wheel   173 19 Maj 14:34 AUTHORS
-rw-r--r--   1 quarnster  wheel   170 19 Maj 14:34 CONTRIBUTORS
-rw-r--r--   1 quarnster  wheel  1479 19 Maj 14:34 LICENSE
-rw-r--r--   1 quarnster  wheel  1303 19 Maj 14:34 PATENTS
-rw-r--r--   1 quarnster  wheel   370 19 Maj 14:34 README
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 cmd/
-rw-r--r--   1 quarnster  wheel    94 19 Maj 14:34 codereview.cfg
drwxr-xr-x   4 quarnster  wheel   136 19 Maj 14:34 go/
drwxr-xr-x   4 quarnster  wheel   136 19 Maj 14:34 gotype/
drwxr-xr-x  21 quarnster  wheel   714 19 Maj 14:34 ssa/

./src/code.google.com/p/go.tools/.hg/cache:
total 16
-rw-r--r--  1 quarnster  wheel  92 19 Maj 14:34 branchheads-served
-rw-r--r--  1 quarnster  wheel  44 19 Maj 14:34 tags

./src/code.google.com/p/go.tools/.hg/largefiles:

./src/code.google.com/p/go.tools/.hg/store:
total 40
-rw-r--r--   1 quarnster  wheel  3182 19 Maj 14:34 00changelog.i
-rw-r--r--   1 quarnster  wheel  5831 19 Maj 14:34 00manifest.i
drwxr-xr-x  13 quarnster  wheel   442 19 Maj 14:34 data/
-rw-r--r--   1 quarnster  wheel  3026 19 Maj 14:34 fncache
-rw-r--r--   1 quarnster  wheel     0 19 Maj 14:34 phaseroots
-rw-r--r--   1 quarnster  wheel  3277 19 Maj 14:34 undo
-rw-r--r--   1 quarnster  wheel     0 19 Maj 14:34 undo.phaseroots

./src/code.google.com/p/go.tools/.hg/store/data:
total 56
-rw-r--r--   1 quarnster  wheel  205 19 Maj 14:34 _a_u_t_h_o_r_s.i
-rw-r--r--   1 quarnster  wheel  202 19 Maj 14:34 _c_o_n_t_r_i_b_u_t_o_r_s.i
-rw-r--r--   1 quarnster  wheel  850 19 Maj 14:34 _l_i_c_e_n_s_e.i
-rw-r--r--   1 quarnster  wheel  707 19 Maj 14:34 _p_a_t_e_n_t_s.i
-rw-r--r--   1 quarnster  wheel  825 19 Maj 14:34 _r_e_a_d_m_e.i
drwxr-xr-x   3 quarnster  wheel  102 19 Maj 14:34 cmd/
-rw-r--r--   1 quarnster  wheel  159 19 Maj 14:34 codereview.cfg.i
drwxr-xr-x   4 quarnster  wheel  136 19 Maj 14:34 go/
drwxr-xr-x   4 quarnster  wheel  136 19 Maj 14:34 gotype/
drwxr-xr-x  21 quarnster  wheel  714 19 Maj 14:34 ssa/
-rw-r--r--   1 quarnster  wheel   89 19 Maj 14:34 ~2ehgignore.i

./src/code.google.com/p/go.tools/.hg/store/data/cmd:
total 0
drwxr-xr-x  31 quarnster  wheel  1054 19 Maj 14:34 vet/

./src/code.google.com/p/go.tools/.hg/store/data/cmd/vet:
total 232
-rw-r--r--  1 quarnster  wheel   423 19 Maj 14:34 _makefile.i
-rw-r--r--  1 quarnster  wheel  4035 19 Maj 14:34 asmdecl.go.i
-rw-r--r--  1 quarnster  wheel   696 19 Maj 14:34 assign.go.i
-rw-r--r--  1 quarnster  wheel   777 19 Maj 14:34 atomic.go.i
-rw-r--r--  1 quarnster  wheel  1016 19 Maj 14:34 buildtag.go.i
-rw-r--r--  1 quarnster  wheel  2046 19 Maj 14:34 deadcode.go.i
-rw-r--r--  1 quarnster  wheel  1317 19 Maj 14:34 doc.go.i
-rw-r--r--  1 quarnster  wheel  3817 19 Maj 14:34 main.go.i
-rw-r--r--  1 quarnster  wheel  2096 19 Maj 14:34 method.go.i
-rw-r--r--  1 quarnster  wheel  3721 19 Maj 14:34 print.go.i
-rw-r--r--  1 quarnster  wheel   899 19 Maj 14:34 rangeloop.go.i
-rw-r--r--  1 quarnster  wheel   562 19 Maj 14:34 structtag.go.i
-rw-r--r--  1 quarnster  wheel  2128 19 Maj 14:34 taglit.go.i
-rw-r--r--  1 quarnster  wheel   440 19 Maj 14:34 test__asm.go.i
-rw-r--r--  1 quarnster  wheel  1724 19 Maj 14:34 test__asm1.s.i
-rw-r--r--  1 quarnster  wheel  1786 19 Maj 14:34 test__asm2.s.i
-rw-r--r--  1 quarnster  wheel  1367 19 Maj 14:34 test__asm3.s.i
-rw-r--r--  1 quarnster  wheel   382 19 Maj 14:34 test__assign.go.i
-rw-r--r--  1 quarnster  wheel   558 19 Maj 14:34 test__atomic.go.i
-rw-r--r--  1 quarnster  wheel   328 19 Maj 14:34 test__buildtag.go.i
-rw-r--r--  1 quarnster  wheel   414 19 Maj 14:34 test__buildtag__bad.go.i
-rw-r--r--  1 quarnster  wheel  1793 19 Maj 14:34 test__deadcode.go.i
-rw-r--r--  1 quarnster  wheel   389 19 Maj 14:34 test__method.go.i
-rw-r--r--  1 quarnster  wheel  1644 19 Maj 14:34 test__print.go.i
-rw-r--r--  1 quarnster  wheel   541 19 Maj 14:34 test__rangeloop.go.i
-rw-r--r--  1 quarnster  wheel   338 19 Maj 14:34 test__structtag.go.i
-rw-r--r--  1 quarnster  wheel   659 19 Maj 14:34 test__taglit.go.i
-rw-r--r--  1 quarnster  wheel  2055 19 Maj 14:34 types.go.i
-rw-r--r--  1 quarnster  wheel   761 19 Maj 14:34 typestub.go.i

./src/code.google.com/p/go.tools/.hg/store/data/go:
total 0
drwxr-xr-x   4 quarnster  wheel  136 19 Maj 14:34 exact/
drwxr-xr-x  27 quarnster  wheel  918 19 Maj 14:34 types/

./src/code.google.com/p/go.tools/.hg/store/data/go/exact:
total 24
-rw-r--r--  1 quarnster  wheel  4489 19 Maj 14:34 exact.go.i
-rw-r--r--  1 quarnster  wheel  1447 19 Maj 14:34 exact__test.go.i

./src/code.google.com/p/go.tools/.hg/store/data/go/types:
total 272
-rw-r--r--   1 quarnster  wheel   2586 19 Maj 14:34 api.go.i
-rw-r--r--   1 quarnster  wheel   4526 19 Maj 14:34 builtins.go.i
-rw-r--r--   1 quarnster  wheel   6248 19 Maj 14:34 check.go.i
-rw-r--r--   1 quarnster  wheel   3114 19 Maj 14:34 check__test.go.i
-rw-r--r--   1 quarnster  wheel   1978 19 Maj 14:34 conversions.go.i
-rw-r--r--   1 quarnster  wheel   3219 19 Maj 14:34 errors.go.i
-rw-r--r--   1 quarnster  wheel   1227 19 Maj 14:34 exportdata.go.i
-rw-r--r--   1 quarnster  wheel  15978 19 Maj 14:34 expr.go.i
-rw-r--r--   1 quarnster  wheel   8536 19 Maj 14:34 gcimporter.go.i
-rw-r--r--   1 quarnster  wheel   2070 19 Maj 14:34 gcimporter__test.go.i
-rw-r--r--   1 quarnster  wheel   2940 19 Maj 14:34 objects.go.i
-rw-r--r--   1 quarnster  wheel    888 19 Maj 14:34 objset.go.i
-rw-r--r--   1 quarnster  wheel   4785 19 Maj 14:34 operand.go.i
-rw-r--r--   1 quarnster  wheel   3897 19 Maj 14:34 predicates.go.i
-rw-r--r--   1 quarnster  wheel   2971 19 Maj 14:34 resolve.go.i
-rw-r--r--   1 quarnster  wheel   1835 19 Maj 14:34 resolver__test.go.i
-rw-r--r--   1 quarnster  wheel   1582 19 Maj 14:34 return.go.i
-rw-r--r--   1 quarnster  wheel   1120 19 Maj 14:34 scope.go.i
-rw-r--r--   1 quarnster  wheel   1956 19 Maj 14:34 sizes.go.i
-rw-r--r--   1 quarnster  wheel   1562 19 Maj 14:34 stdlib__test.go.i
-rw-r--r--   1 quarnster  wheel   6992 19 Maj 14:34 stmt.go.i
drwxr-xr-x  18 quarnster  wheel    612 19 Maj 14:34 testdata/
-rw-r--r--   1 quarnster  wheel   5160 19 Maj 14:34 types.go.i
-rw-r--r--   1 quarnster  wheel   1693 19 Maj 14:34 types__test.go.i
-rw-r--r--   1 quarnster  wheel   2354 19 Maj 14:34 universe.go.i

./src/code.google.com/p/go.tools/.hg/store/data/go/types/testdata:
total 128
-rw-r--r--  1 quarnster  wheel  2793 19 Maj 14:34 builtins.src.i
-rw-r--r--  1 quarnster  wheel  1584 19 Maj 14:34 const0.src.i
-rw-r--r--  1 quarnster  wheel   431 19 Maj 14:34 conversions.src.i
-rw-r--r--  1 quarnster  wheel  1446 19 Maj 14:34 decls0.src.i
-rw-r--r--  1 quarnster  wheel  1306 19 Maj 14:34 decls1.src.i
-rw-r--r--  1 quarnster  wheel   692 19 Maj 14:34 decls2a.src.i
-rw-r--r--  1 quarnster  wheel   341 19 Maj 14:34 decls2b.src.i
-rw-r--r--  1 quarnster  wheel  1054 19 Maj 14:34 decls3.src.i
-rw-r--r--  1 quarnster  wheel   834 19 Maj 14:34 exports.go.i
-rw-r--r--  1 quarnster  wheel  1075 19 Maj 14:34 expr0.src.i
-rw-r--r--  1 quarnster  wheel   224 19 Maj 14:34 expr1.src.i
-rw-r--r--  1 quarnster  wheel   365 19 Maj 14:34 expr2.src.i
-rw-r--r--  1 quarnster  wheel  2349 19 Maj 14:34 expr3.src.i
-rw-r--r--  1 quarnster  wheel  2150 19 Maj 14:34 shifts.src.i
-rw-r--r--  1 quarnster  wheel  1585 19 Maj 14:34 stmt0.src.i
-rw-r--r--  1 quarnster  wheel   575 19 Maj 14:34 stmt1.src.i

./src/code.google.com/p/go.tools/.hg/store/data/gotype:
total 16
-rw-r--r--  1 quarnster  wheel   912 19 Maj 14:34 doc.go.i
-rw-r--r--  1 quarnster  wheel  1730 19 Maj 14:34 gotype.go.i

./src/code.google.com/p/go.tools/.hg/store/data/ssa:
total 256
-rw-r--r--   1 quarnster  wheel   1647 19 Maj 14:34 blockopt.go.i
-rw-r--r--   1 quarnster  wheel  26461 19 Maj 14:34 builder.go.i
-rw-r--r--   1 quarnster  wheel   3796 19 Maj 14:34 doc.go.i
-rw-r--r--   1 quarnster  wheel   3116 19 Maj 14:34 dom.go.i
-rw-r--r--   1 quarnster  wheel   4290 19 Maj 14:34 emit.go.i
-rw-r--r--   1 quarnster  wheel   1637 19 Maj 14:34 example__test.go.i
-rw-r--r--   1 quarnster  wheel   6483 19 Maj 14:34 func.go.i
-rw-r--r--   1 quarnster  wheel   2463 19 Maj 14:34 importer.go.i
drwxr-xr-x  13 quarnster  wheel    442 19 Maj 14:34 interp/
-rw-r--r--   1 quarnster  wheel   5905 19 Maj 14:34 lift.go.i
-rw-r--r--   1 quarnster  wheel   1705 19 Maj 14:34 literal.go.i
-rw-r--r--   1 quarnster  wheel   1014 19 Maj 14:34 lvalue.go.i
-rw-r--r--   1 quarnster  wheel   3373 19 Maj 14:34 print.go.i
-rw-r--r--   1 quarnster  wheel   5951 19 Maj 14:34 promote.go.i
-rw-r--r--   1 quarnster  wheel   2877 19 Maj 14:34 sanity.go.i
-rw-r--r--   1 quarnster  wheel  17044 19 Maj 14:34 ssa.go.i
-rw-r--r--   1 quarnster  wheel   1459 19 Maj 14:34 ssadump.go.i
-rw-r--r--   1 quarnster  wheel   2824 19 Maj 14:34 typeinfo.go.i
-rw-r--r--   1 quarnster  wheel   3204 19 Maj 14:34 util.go.i

./src/code.google.com/p/go.tools/.hg/store/data/ssa/interp:
total 96
-rw-r--r--  1 quarnster  wheel  3560 19 Maj 14:34 external.go.i
-rw-r--r--  1 quarnster  wheel   529 19 Maj 14:34 external__plan9.go.i
-rw-r--r--  1 quarnster  wheel  1102 19 Maj 14:34 external__unix.go.i
-rw-r--r--  1 quarnster  wheel   437 19 Maj 14:34 external__windows.go.i
-rw-r--r--  1 quarnster  wheel  6432 19 Maj 14:34 interp.go.i
-rw-r--r--  1 quarnster  wheel  2503 19 Maj 14:34 interp__test.go.i
-rw-r--r--  1 quarnster  wheel  1076 19 Maj 14:34 map.go.i
-rw-r--r--  1 quarnster  wheel  8112 19 Maj 14:34 ops.go.i
-rw-r--r--  1 quarnster  wheel  3508 19 Maj 14:34 reflect.go.i
drwxr-xr-x  4 quarnster  wheel   136 19 Maj 14:34 testdata/
-rw-r--r--  1 quarnster  wheel  3264 19 Maj 14:34 value.go.i

./src/code.google.com/p/go.tools/.hg/store/data/ssa/interp/testdata:
total 16
-rw-r--r--  1 quarnster  wheel  2792 19 Maj 14:34 coverage.go.i
-rw-r--r--  1 quarnster  wheel   617 19 Maj 14:34 mrvchain.go.i

./src/code.google.com/p/go.tools/cmd:
total 0
drwxr-xr-x  31 quarnster  wheel  1054 19 Maj 14:34 vet/

./src/code.google.com/p/go.tools/cmd/vet:
total 432
-rw-r--r--  1 quarnster  wheel    665 19 Maj 14:34 Makefile
-rw-r--r--  1 quarnster  wheel  12543 19 Maj 14:34 asmdecl.go
-rw-r--r--  1 quarnster  wheel   1118 19 Maj 14:34 assign.go
-rw-r--r--  1 quarnster  wheel   1447 19 Maj 14:34 atomic.go
-rw-r--r--  1 quarnster  wheel   2325 19 Maj 14:34 buildtag.go
-rw-r--r--  1 quarnster  wheel   6531 19 Maj 14:34 deadcode.go
-rw-r--r--  1 quarnster  wheel   2506 19 Maj 14:34 doc.go
-rw-r--r--  1 quarnster  wheel  10958 19 Maj 14:34 main.go
-rw-r--r--  1 quarnster  wheel   5404 19 Maj 14:34 method.go
-rw-r--r--  1 quarnster  wheel   9996 19 Maj 14:34 print.go
-rw-r--r--  1 quarnster  wheel   1578 19 Maj 14:34 rangeloop.go
-rw-r--r--  1 quarnster  wheel    909 19 Maj 14:34 structtag.go
-rw-r--r--  1 quarnster  wheel   5091 19 Maj 14:34 taglit.go
-rw-r--r--  1 quarnster  wheel    693 19 Maj 14:34 test_asm.go
-rw-r--r--  1 quarnster  wheel  14991 19 Maj 14:34 test_asm1.s
-rw-r--r--  1 quarnster  wheel  15212 19 Maj 14:34 test_asm2.s
-rw-r--r--  1 quarnster  wheel   8891 19 Maj 14:34 test_asm3.s
-rw-r--r--  1 quarnster  wheel    486 19 Maj 14:34 test_assign.go
-rw-r--r--  1 quarnster  wheel   1384 19 Maj 14:34 test_atomic.go
-rw-r--r--  1 quarnster  wheel    405 19 Maj 14:34 test_buildtag.go
-rw-r--r--  1 quarnster  wheel    640 19 Maj 14:34 test_buildtag_bad.go
-rw-r--r--  1 quarnster  wheel  23393 19 Maj 14:34 test_deadcode.go
-rw-r--r--  1 quarnster  wheel    549 19 Maj 14:34 test_method.go
-rw-r--r--  1 quarnster  wheel   6188 19 Maj 14:34 test_print.go
-rw-r--r--  1 quarnster  wheel   1386 19 Maj 14:34 test_rangeloop.go
-rw-r--r--  1 quarnster  wheel    407 19 Maj 14:34 test_structtag.go
-rw-r--r--  1 quarnster  wheel   1176 19 Maj 14:34 test_taglit.go
-rw-r--r--  1 quarnster  wheel   5272 19 Maj 14:34 types.go
-rw-r--r--  1 quarnster  wheel   1369 19 Maj 14:34 typestub.go

./src/code.google.com/p/go.tools/go:
total 0
drwxr-xr-x   4 quarnster  wheel  136 19 Maj 14:34 exact/
drwxr-xr-x  27 quarnster  wheel  918 19 Maj 14:34 types/

./src/code.google.com/p/go.tools/go/exact:
total 48
-rw-r--r--  1 quarnster  wheel  16917 19 Maj 14:34 exact.go
-rw-r--r--  1 quarnster  wheel   3325 19 Maj 14:34 exact_test.go

./src/code.google.com/p/go.tools/go/types:
total 504
-rw-r--r--   1 quarnster  wheel   5482 19 Maj 14:34 api.go
-rw-r--r--   1 quarnster  wheel  11284 19 Maj 14:34 builtins.go
-rw-r--r--   1 quarnster  wheel  14775 19 Maj 14:34 check.go
-rw-r--r--   1 quarnster  wheel   7229 19 Maj 14:34 check_test.go
-rw-r--r--   1 quarnster  wheel   4059 19 Maj 14:34 conversions.go
-rw-r--r--   1 quarnster  wheel   7135 19 Maj 14:34 errors.go
-rw-r--r--   1 quarnster  wheel   2717 19 Maj 14:34 exportdata.go
-rw-r--r--   1 quarnster  wheel  47665 19 Maj 14:34 expr.go
-rw-r--r--   1 quarnster  wheel  22921 19 Maj 14:34 gcimporter.go
-rw-r--r--   1 quarnster  wheel   4192 19 Maj 14:34 gcimporter_test.go
-rw-r--r--   1 quarnster  wheel   5706 19 Maj 14:34 objects.go
-rw-r--r--   1 quarnster  wheel   1700 19 Maj 14:34 objset.go
-rw-r--r--   1 quarnster  wheel  11245 19 Maj 14:34 operand.go
-rw-r--r--   1 quarnster  wheel   7905 19 Maj 14:34 predicates.go
-rw-r--r--   1 quarnster  wheel   5572 19 Maj 14:34 resolve.go
-rw-r--r--   1 quarnster  wheel   4050 19 Maj 14:34 resolver_test.go
-rw-r--r--   1 quarnster  wheel   4547 19 Maj 14:34 return.go
-rw-r--r--   1 quarnster  wheel   1855 19 Maj 14:34 scope.go
-rw-r--r--   1 quarnster  wheel   4163 19 Maj 14:34 sizes.go
-rw-r--r--   1 quarnster  wheel   2998 19 Maj 14:34 stdlib_test.go
-rw-r--r--   1 quarnster  wheel  19609 19 Maj 14:34 stmt.go
drwxr-xr-x  18 quarnster  wheel    612 19 Maj 14:34 testdata/
-rw-r--r--   1 quarnster  wheel  11899 19 Maj 14:34 types.go
-rw-r--r--   1 quarnster  wheel   3981 19 Maj 14:34 types_test.go
-rw-r--r--   1 quarnster  wheel   4653 19 Maj 14:34 universe.go

./src/code.google.com/p/go.tools/go/types/testdata:
total 192
-rw-r--r--  1 quarnster  wheel  11874 19 Maj 14:34 builtins.src
-rw-r--r--  1 quarnster  wheel   5099 19 Maj 14:34 const0.src
-rw-r--r--  1 quarnster  wheel    751 19 Maj 14:34 conversions.src
-rw-r--r--  1 quarnster  wheel   3362 19 Maj 14:34 decls0.src
-rw-r--r--  1 quarnster  wheel   3452 19 Maj 14:34 decls1.src
-rw-r--r--  1 quarnster  wheel   1694 19 Maj 14:34 decls2a.src
-rw-r--r--  1 quarnster  wheel    387 19 Maj 14:34 decls2b.src
-rw-r--r--  1 quarnster  wheel   3216 19 Maj 14:34 decls3.src
-rw-r--r--  1 quarnster  wheel   1469 19 Maj 14:34 exports.go
-rw-r--r--  1 quarnster  wheel   3047 19 Maj 14:34 expr0.src
-rw-r--r--  1 quarnster  wheel    197 19 Maj 14:34 expr1.src
-rw-r--r--  1 quarnster  wheel    476 19 Maj 14:34 expr2.src
-rw-r--r--  1 quarnster  wheel   8758 19 Maj 14:34 expr3.src
-rw-r--r--  1 quarnster  wheel   9650 19 Maj 14:34 shifts.src
-rw-r--r--  1 quarnster  wheel   4778 19 Maj 14:34 stmt0.src
-rw-r--r--  1 quarnster  wheel   2252 19 Maj 14:34 stmt1.src

./src/code.google.com/p/go.tools/gotype:
total 24
-rw-r--r--  1 quarnster  wheel  1713 19 Maj 14:34 doc.go
-rw-r--r--  1 quarnster  wheel  4366 19 Maj 14:34 gotype.go

./src/code.google.com/p/go.tools/ssa:
total 536
-rw-r--r--   1 quarnster  wheel   4055 19 Maj 14:34 blockopt.go
-rw-r--r--   1 quarnster  wheel  75671 19 Maj 14:34 builder.go
-rw-r--r--   1 quarnster  wheel   6104 19 Maj 14:34 doc.go
-rw-r--r--   1 quarnster  wheel   7703 19 Maj 14:34 dom.go
-rw-r--r--   1 quarnster  wheel   8632 19 Maj 14:34 emit.go
-rw-r--r--   1 quarnster  wheel   3009 19 Maj 14:34 example_test.go
-rw-r--r--   1 quarnster  wheel  15823 19 Maj 14:34 func.go
-rw-r--r--   1 quarnster  wheel   4584 19 Maj 14:34 importer.go
drwxr-xr-x  13 quarnster  wheel    442 19 Maj 14:34 interp/
-rw-r--r--   1 quarnster  wheel  14623 19 Maj 14:34 lift.go
-rw-r--r--   1 quarnster  wheel   3760 19 Maj 14:34 literal.go
-rw-r--r--   1 quarnster  wheel   2052 19 Maj 14:34 lvalue.go
-rw-r--r--   1 quarnster  wheel   9579 19 Maj 14:34 print.go
-rw-r--r--   1 quarnster  wheel  12869 19 Maj 14:34 promote.go
-rw-r--r--   1 quarnster  wheel   7753 19 Maj 14:34 sanity.go
-rw-r--r--   1 quarnster  wheel  49365 19 Maj 14:34 ssa.go
-rw-r--r--   1 quarnster  wheel   2935 19 Maj 14:34 ssadump.go
-rw-r--r--   1 quarnster  wheel   6108 19 Maj 14:34 typeinfo.go
-rw-r--r--   1 quarnster  wheel   5537 19 Maj 14:34 util.go

./src/code.google.com/p/go.tools/ssa/interp:
total 232
-rw-r--r--  1 quarnster  wheel  14875 19 Maj 14:34 external.go
-rw-r--r--  1 quarnster  wheel   1498 19 Maj 14:34 external_plan9.go
-rw-r--r--  1 quarnster  wheel   3616 19 Maj 14:34 external_unix.go
-rw-r--r--  1 quarnster  wheel   1372 19 Maj 14:34 external_windows.go
-rw-r--r--  1 quarnster  wheel  16810 19 Maj 14:34 interp.go
-rw-r--r--  1 quarnster  wheel   5637 19 Maj 14:34 interp_test.go
-rw-r--r--  1 quarnster  wheel   2297 19 Maj 14:34 map.go
-rw-r--r--  1 quarnster  wheel  30412 19 Maj 14:34 ops.go
-rw-r--r--  1 quarnster  wheel  11791 19 Maj 14:34 reflect.go
drwxr-xr-x  4 quarnster  wheel    136 19 Maj 14:34 testdata/
-rw-r--r--  1 quarnster  wheel   9854 19 Maj 14:34 value.go

./src/code.google.com/p/go.tools/ssa/interp/testdata:
total 24
-rw-r--r--  1 quarnster  wheel  7325 19 Maj 14:34 coverage.go
-rw-r--r--  1 quarnster  wheel  1134 19 Maj 14:34 mrvchain.go

./src/github.com:
total 0
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 axw/

./src/github.com/axw:
total 0
drwxr-xr-x  10 quarnster  wheel   340 19 Maj 14:34 gollvm/
drwxr-xr-x  42 quarnster  wheel  1428 19 Maj 14:34 llgo/

./src/github.com/axw/gollvm:
total 24
-rw-r--r--   1 quarnster  wheel  1127 19 Maj 14:34 LICENSE
-rw-r--r--   1 quarnster  wheel   847 19 Maj 14:34 README.md
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 examples/
drwxr-xr-x   4 quarnster  wheel   136 19 Maj 14:34 include/
-rwxr-xr-x   1 quarnster  wheel   349 19 Maj 14:34 install.sh*
drwxr-xr-x  13 quarnster  wheel   442 19 Maj 14:34 llvm/

./src/github.com/axw/gollvm/.git/hooks:
total 72
-rwxr-xr-x  1 quarnster  wheel   452 19 Maj 14:34 applypatch-msg.sample*
-rwxr-xr-x  1 quarnster  wheel   896 19 Maj 14:34 commit-msg.sample*
-rwxr-xr-x  1 quarnster  wheel   189 19 Maj 14:34 post-update.sample*
-rwxr-xr-x  1 quarnster  wheel   398 19 Maj 14:34 pre-applypatch.sample*
-rwxr-xr-x  1 quarnster  wheel  1704 19 Maj 14:34 pre-commit.sample*
-rwxr-xr-x  1 quarnster  wheel  4951 19 Maj 14:34 pre-rebase.sample*
-rwxr-xr-x  1 quarnster  wheel  1239 19 Maj 14:34 prepare-commit-msg.sample*
-rwxr-xr-x  1 quarnster  wheel  3611 19 Maj 14:34 update.sample*

./src/github.com/axw/gollvm/.git/info:
total 8
-rw-r--r--  1 quarnster  wheel  240 19 Maj 14:34 exclude

./src/github.com/axw/gollvm/.git/logs:
total 8
-rw-r--r--  1 quarnster  wheel  356 19 Maj 14:34 HEAD
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 refs/

./src/github.com/axw/gollvm/.git/logs/refs:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 heads/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 remotes/

./src/github.com/axw/gollvm/.git/logs/refs/heads:
total 8
-rw-r--r--  1 quarnster  wheel  176 19 Maj 14:34 master

./src/github.com/axw/gollvm/.git/logs/refs/remotes:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 origin/

./src/github.com/axw/gollvm/.git/logs/refs/remotes/origin:
total 8
-rw-r--r--  1 quarnster  wheel  176 19 Maj 14:34 HEAD

./src/github.com/axw/gollvm/.git/objects:
total 0
drwxr-xr-x  2 quarnster  wheel   68 19 Maj 14:34 info/
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 pack/

./src/github.com/axw/gollvm/.git/objects/info:

./src/github.com/axw/gollvm/.git/objects/pack:
total 248
-r--r--r--  1 quarnster  wheel    9892 19 Maj 14:34 pack-e379f6fe21cec5409b46f1cb97fe8d8860efad26.idx
-r--r--r--  1 quarnster  wheel  113803 19 Maj 14:34 pack-e379f6fe21cec5409b46f1cb97fe8d8860efad26.pack

./src/github.com/axw/gollvm/.git/refs:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 heads/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 remotes/
drwxr-xr-x  2 quarnster  wheel   68 19 Maj 14:34 tags/

./src/github.com/axw/gollvm/.git/refs/heads:
total 8
-rw-r--r--  1 quarnster  wheel  41 19 Maj 14:34 master

./src/github.com/axw/gollvm/.git/refs/remotes:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 origin/

./src/github.com/axw/gollvm/.git/refs/remotes/origin:
total 8
-rw-r--r--  1 quarnster  wheel  32 19 Maj 14:34 HEAD

./src/github.com/axw/gollvm/.git/refs/tags:

./src/github.com/axw/gollvm/examples:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 factorial/

./src/github.com/axw/gollvm/examples/factorial:
total 8
-rw-r--r--  1 quarnster  wheel  2490 19 Maj 14:34 factorial.go

./src/github.com/axw/gollvm/include:
total 0
drwxr-xr-x   4 quarnster  wheel  136 19 Maj 14:34 llvm/
drwxr-xr-x  17 quarnster  wheel  578 19 Maj 14:34 llvm-c/

./src/github.com/axw/gollvm/include/llvm:
total 0
drwxr-xr-x  8 quarnster  wheel  272 19 Maj 14:34 Config/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 Support/

./src/github.com/axw/gollvm/include/llvm/Config:
total 88
-rw-r--r--  1 quarnster  wheel   1908 19 Maj 14:34 AsmParsers.def
-rw-r--r--  1 quarnster  wheel   2090 19 Maj 14:34 AsmPrinters.def
-rw-r--r--  1 quarnster  wheel   1922 19 Maj 14:34 Disassemblers.def
-rw-r--r--  1 quarnster  wheel   1761 19 Maj 14:34 Targets.def
-rw-r--r--  1 quarnster  wheel  20203 19 Maj 14:34 config.h
-rw-r--r--  1 quarnster  wheel   4437 19 Maj 14:34 llvm-config.h

./src/github.com/axw/gollvm/include/llvm/Support:
total 16
-rw-r--r--  1 quarnster  wheel  5528 19 Maj 14:34 DataTypes.h

./src/github.com/axw/gollvm/include/llvm-c:
total 368
-rw-r--r--  1 quarnster  wheel   2587 19 Maj 14:34 Analysis.h
-rw-r--r--  1 quarnster  wheel   3417 19 Maj 14:34 BitReader.h
-rw-r--r--  1 quarnster  wheel   2229 19 Maj 14:34 BitWriter.h
-rw-r--r--  1 quarnster  wheel  85701 19 Maj 14:34 Core.h
-rw-r--r--  1 quarnster  wheel   7980 19 Maj 14:34 Disassembler.h
-rw-r--r--  1 quarnster  wheel  17612 19 Maj 14:34 EnhancedDisassembly.h
-rw-r--r--  1 quarnster  wheel   6596 19 Maj 14:34 ExecutionEngine.h
-rw-r--r--  1 quarnster  wheel   2065 19 Maj 14:34 Initialization.h
-rw-r--r--  1 quarnster  wheel   1975 19 Maj 14:34 LinkTimeOptimizer.h
-rw-r--r--  1 quarnster  wheel   1766 19 Maj 14:34 Linker.h
-rw-r--r--  1 quarnster  wheel   5745 19 Maj 14:34 Object.h
-rw-r--r--  1 quarnster  wheel  10654 19 Maj 14:34 Target.h
-rw-r--r--  1 quarnster  wheel   5387 19 Maj 14:34 TargetMachine.h
drwxr-xr-x  6 quarnster  wheel    204 19 Maj 14:34 Transforms/
-rw-r--r--  1 quarnster  wheel   8607 19 Maj 14:34 lto.h

./src/github.com/axw/gollvm/include/llvm-c/Transforms:
total 40
-rw-r--r--  1 quarnster  wheel  2891 19 Maj 14:34 IPO.h
-rw-r--r--  1 quarnster  wheel  3793 19 Maj 14:34 PassManagerBuilder.h
-rw-r--r--  1 quarnster  wheel  5057 19 Maj 14:34 Scalar.h
-rw-r--r--  1 quarnster  wheel  1897 19 Maj 14:34 Vectorize.h

./src/github.com/axw/gollvm/llvm:
total 256
-rw-r--r--  1 quarnster  wheel   1696 19 Maj 14:34 analysis.go
-rw-r--r--  1 quarnster  wheel    832 19 Maj 14:34 bitreader.go
-rw-r--r--  1 quarnster  wheel    446 19 Maj 14:34 bitwriter.go
-rw-r--r--  1 quarnster  wheel  72432 19 Maj 14:34 core.go
-rw-r--r--  1 quarnster  wheel  11000 19 Maj 14:34 debug.go
-rw-r--r--  1 quarnster  wheel   5652 19 Maj 14:34 executionengine.go
-rw-r--r--  1 quarnster  wheel    544 19 Maj 14:34 linker.go
-rw-r--r--  1 quarnster  wheel   1375 19 Maj 14:34 string.go
-rw-r--r--  1 quarnster  wheel   8072 19 Maj 14:34 target.go
-rw-r--r--  1 quarnster  wheel   1275 19 Maj 14:34 transforms_ipo.go
-rw-r--r--  1 quarnster  wheel   2256 19 Maj 14:34 transforms_scalar.go

./src/github.com/axw/llgo:
total 584
-rw-r--r--   1 quarnster  wheel   2801 19 Maj 14:34 LICENSE
-rw-r--r--   1 quarnster  wheel   1800 19 Maj 14:34 README.md
-rw-r--r--   1 quarnster  wheel   4496 19 Maj 14:34 attribute.go
drwxr-xr-x   4 quarnster  wheel    136 19 Maj 14:34 build/
-rw-r--r--   1 quarnster  wheel   1318 19 Maj 14:34 builder.go
-rw-r--r--   1 quarnster  wheel   1470 19 Maj 14:34 channels.go
-rw-r--r--   1 quarnster  wheel   3911 19 Maj 14:34 check.go
drwxr-xr-x   5 quarnster  wheel    170 19 Maj 14:34 cmd/
-rw-r--r--   1 quarnster  wheel  11326 19 Maj 14:34 compiler.go
-rw-r--r--   1 quarnster  wheel   1844 19 Maj 14:34 debug.go
-rw-r--r--   1 quarnster  wheel  12995 19 Maj 14:34 decl.go
-rw-r--r--   1 quarnster  wheel   4474 19 Maj 14:34 defer.go
-rw-r--r--   1 quarnster  wheel   1519 19 Maj 14:34 errors.go
-rw-r--r--   1 quarnster  wheel  18528 19 Maj 14:34 expr.go
-rw-r--r--   1 quarnster  wheel  12429 19 Maj 14:34 functions.go
-rw-r--r--   1 quarnster  wheel    728 19 Maj 14:34 goroutine.go
-rw-r--r--   1 quarnster  wheel  11929 19 Maj 14:34 interfaces.go
-rw-r--r--   1 quarnster  wheel   3170 19 Maj 14:34 intrinsics.go
-rw-r--r--   1 quarnster  wheel   1095 19 Maj 14:34 labels.go
-rw-r--r--   1 quarnster  wheel   2037 19 Maj 14:34 len.go
-rw-r--r--   1 quarnster  wheel   9176 19 Maj 14:34 literals.go
drwxr-xr-x  24 quarnster  wheel    816 19 Maj 14:34 llgo/
-rw-r--r--   1 quarnster  wheel   1495 19 Maj 14:34 make.go
-rw-r--r--   1 quarnster  wheel   3757 19 Maj 14:34 maps.go
-rw-r--r--   1 quarnster  wheel    544 19 Maj 14:34 new.go
-rw-r--r--   1 quarnster  wheel    412 19 Maj 14:34 package.go
drwxr-xr-x   7 quarnster  wheel    238 19 Maj 14:34 pkg/
-rw-r--r--   1 quarnster  wheel    340 19 Maj 14:34 pnacl.go
-rw-r--r--   1 quarnster  wheel   2478 19 Maj 14:34 predicates.go
-rw-r--r--   1 quarnster  wheel   5235 19 Maj 14:34 println.go
-rw-r--r--   1 quarnster  wheel   3680 19 Maj 14:34 runtime.go
-rw-r--r--   1 quarnster  wheel   8044 19 Maj 14:34 slice.go
-rw-r--r--   1 quarnster  wheel  29562 19 Maj 14:34 stmt.go
-rw-r--r--   1 quarnster  wheel   3805 19 Maj 14:34 strings.go
-rw-r--r--   1 quarnster  wheel  29912 19 Maj 14:34 typemap.go
-rw-r--r--   1 quarnster  wheel   5653 19 Maj 14:34 types.go
-rw-r--r--   1 quarnster  wheel  20147 19 Maj 14:34 value.go
-rw-r--r--   1 quarnster  wheel    239 19 Maj 14:34 version.go

./src/github.com/axw/llgo/.git/hooks:
total 72
-rwxr-xr-x  1 quarnster  wheel   452 19 Maj 14:34 applypatch-msg.sample*
-rwxr-xr-x  1 quarnster  wheel   896 19 Maj 14:34 commit-msg.sample*
-rwxr-xr-x  1 quarnster  wheel   189 19 Maj 14:34 post-update.sample*
-rwxr-xr-x  1 quarnster  wheel   398 19 Maj 14:34 pre-applypatch.sample*
-rwxr-xr-x  1 quarnster  wheel  1704 19 Maj 14:34 pre-commit.sample*
-rwxr-xr-x  1 quarnster  wheel  4951 19 Maj 14:34 pre-rebase.sample*
-rwxr-xr-x  1 quarnster  wheel  1239 19 Maj 14:34 prepare-commit-msg.sample*
-rwxr-xr-x  1 quarnster  wheel  3611 19 Maj 14:34 update.sample*

./src/github.com/axw/llgo/.git/info:
total 8
-rw-r--r--  1 quarnster  wheel  240 19 Maj 14:34 exclude

./src/github.com/axw/llgo/.git/logs:
total 8
-rw-r--r--  1 quarnster  wheel  354 19 Maj 14:34 HEAD
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 refs/

./src/github.com/axw/llgo/.git/logs/refs:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 heads/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 remotes/

./src/github.com/axw/llgo/.git/logs/refs/heads:
total 8
-rw-r--r--  1 quarnster  wheel  174 19 Maj 14:34 master

./src/github.com/axw/llgo/.git/logs/refs/remotes:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 origin/

./src/github.com/axw/llgo/.git/logs/refs/remotes/origin:
total 8
-rw-r--r--  1 quarnster  wheel  174 19 Maj 14:34 HEAD

./src/github.com/axw/llgo/.git/objects:
total 0
drwxr-xr-x  2 quarnster  wheel   68 19 Maj 14:34 info/
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 pack/

./src/github.com/axw/llgo/.git/objects/info:

./src/github.com/axw/llgo/.git/objects/pack:
total 3208
-r--r--r--  1 quarnster  wheel    86360 19 Maj 14:34 pack-225a0c23700a01828c565ca3a5d06a88b513a912.idx
-r--r--r--  1 quarnster  wheel  1551531 19 Maj 14:34 pack-225a0c23700a01828c565ca3a5d06a88b513a912.pack

./src/github.com/axw/llgo/.git/refs:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 heads/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 remotes/
drwxr-xr-x  2 quarnster  wheel   68 19 Maj 14:34 tags/

./src/github.com/axw/llgo/.git/refs/heads:
total 8
-rw-r--r--  1 quarnster  wheel  41 19 Maj 14:34 master

./src/github.com/axw/llgo/.git/refs/remotes:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 origin/

./src/github.com/axw/llgo/.git/refs/remotes/origin:
total 8
-rw-r--r--  1 quarnster  wheel  32 19 Maj 14:34 HEAD

./src/github.com/axw/llgo/.git/refs/tags:

./src/github.com/axw/llgo/build:
total 16
-rw-r--r--  1 quarnster  wheel  1231 19 Maj 14:34 build.go
-rw-r--r--  1 quarnster  wheel   542 19 Maj 14:34 build_test.go

./src/github.com/axw/llgo/cmd:
total 0
drwxr-xr-x  10 quarnster  wheel   340 19 Maj 14:34 llgo-dist/
drwxr-xr-x  34 quarnster  wheel  1156 19 Maj 14:34 llgo-go/
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 llgo-link/

./src/github.com/axw/llgo/cmd/llgo-dist:
total 64
-rw-r--r--  1 quarnster  wheel   704 19 Maj 14:34 buildlinker.go
-rw-r--r--  1 quarnster  wheel  2178 19 Maj 14:34 buildllgo.go
-rw-r--r--  1 quarnster  wheel  3944 19 Maj 14:34 buildruntime.go
-rw-r--r--  1 quarnster  wheel  1177 19 Maj 14:34 genmath.go
-rw-r--r--  1 quarnster  wheel  1194 19 Maj 14:34 gensyscall.go
-rw-r--r--  1 quarnster  wheel  3846 19 Maj 14:34 main.go
-rw-r--r--  1 quarnster  wheel   997 19 Maj 14:34 paths.go
-rw-r--r--  1 quarnster  wheel  1437 19 Maj 14:34 utils.go

./src/github.com/axw/llgo/cmd/llgo-go:
total 648
-rw-r--r--  1 quarnster  wheel    715 19 Maj 14:34 bootstrap.go
-rw-r--r--  1 quarnster  wheel  62081 19 Maj 14:34 build.go
-rw-r--r--  1 quarnster  wheel   5227 19 Maj 14:34 clean.go
-rw-r--r--  1 quarnster  wheel   1610 19 Maj 14:34 discovery.go
-rw-r--r--  1 quarnster  wheel  28088 19 Maj 14:34 doc.go
-rw-r--r--  1 quarnster  wheel   1947 19 Maj 14:34 env.go
-rw-r--r--  1 quarnster  wheel    835 19 Maj 14:34 fix.go
-rw-r--r--  1 quarnster  wheel   1897 19 Maj 14:34 fmt.go
-rw-r--r--  1 quarnster  wheel  11314 19 Maj 14:34 get.go
-rw-r--r--  1 quarnster  wheel    300 19 Maj 14:34 go11.go
-rw-r--r--  1 quarnster  wheel   7935 19 Maj 14:34 help.go
-rw-r--r--  1 quarnster  wheel   2276 19 Maj 14:34 http.go
-rw-r--r--  1 quarnster  wheel   5438 19 Maj 14:34 list.go
-rw-r--r--  1 quarnster  wheel  16281 19 Maj 14:34 main.go
-rw-r--r--  1 quarnster  wheel    891 19 Maj 14:34 match_test.go
-rwxr-xr-x  1 quarnster  wheel    282 19 Maj 14:34 mkdoc.sh*
-rw-r--r--  1 quarnster  wheel  24780 19 Maj 14:34 pkg.go
-rw-r--r--  1 quarnster  wheel   2787 19 Maj 14:34 run.go
-rwxr-xr-x  1 quarnster  wheel    281 19 Maj 14:34 script*
-rw-r--r--  1 quarnster  wheel  10519 19 Maj 14:34 script.txt
-rw-r--r--  1 quarnster  wheel    636 19 Maj 14:34 signal.go
-rw-r--r--  1 quarnster  wheel    265 19 Maj 14:34 signal_notunix.go
-rw-r--r--  1 quarnster  wheel    315 19 Maj 14:34 signal_unix.go
-rw-r--r--  1 quarnster  wheel   2225 19 Maj 14:34 tag_test.go
-rwxr-xr-x  1 quarnster  wheel   9923 19 Maj 14:34 test.bash*
-rw-r--r--  1 quarnster  wheel  24719 19 Maj 14:34 test.go
drwxr-xr-x  7 quarnster  wheel    238 19 Maj 14:34 testdata/
-rw-r--r--  1 quarnster  wheel   7225 19 Maj 14:34 testflag.go
-rw-r--r--  1 quarnster  wheel   3411 19 Maj 14:34 tool.go
-rw-r--r--  1 quarnster  wheel  19977 19 Maj 14:34 vcs.go
-rw-r--r--  1 quarnster  wheel    566 19 Maj 14:34 version.go
-rw-r--r--  1 quarnster  wheel   1008 19 Maj 14:34 vet.go

./src/github.com/axw/llgo/cmd/llgo-go/testdata:
total 16
-rw-r--r--  1 quarnster  wheel  395 19 Maj 14:34 example1_test.go
-rw-r--r--  1 quarnster  wheel  384 19 Maj 14:34 example2_test.go
drwxr-xr-x  6 quarnster  wheel  204 19 Maj 14:34 local/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 src/
drwxr-xr-x  7 quarnster  wheel  238 19 Maj 14:34 testimport/

./src/github.com/axw/llgo/cmd/llgo-go/testdata/local:
total 16
-rw-r--r--  1 quarnster  wheel   67 19 Maj 14:34 easy.go
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 easysub/
-rw-r--r--  1 quarnster  wheel   59 19 Maj 14:34 hard.go
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 sub/

./src/github.com/axw/llgo/cmd/llgo-go/testdata/local/easysub:
total 16
-rw-r--r--  1 quarnster  wheel  78 19 Maj 14:34 easysub.go
-rw-r--r--  1 quarnster  wheel  77 19 Maj 14:34 main.go

./src/github.com/axw/llgo/cmd/llgo-go/testdata/local/sub:
total 8
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 sub/
-rw-r--r--  1 quarnster  wheel  108 19 Maj 14:34 sub.go

./src/github.com/axw/llgo/cmd/llgo-go/testdata/local/sub/sub:
total 8
-rw-r--r--  1 quarnster  wheel  76 19 Maj 14:34 subsub.go

./src/github.com/axw/llgo/cmd/llgo-go/testdata/src:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 go-cmd-test/

./src/github.com/axw/llgo/cmd/llgo-go/testdata/src/go-cmd-test:
total 8
-rw-r--r--  1 quarnster  wheel  54 19 Maj 14:34 helloworld.go

./src/github.com/axw/llgo/cmd/llgo-go/testdata/testimport:
total 24
-rw-r--r--  1 quarnster  wheel   37 19 Maj 14:34 p.go
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 p1/
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 p2/
-rw-r--r--  1 quarnster  wheel  110 19 Maj 14:34 p_test.go
-rw-r--r--  1 quarnster  wheel  136 19 Maj 14:34 x_test.go

./src/github.com/axw/llgo/cmd/llgo-go/testdata/testimport/p1:
total 8
-rw-r--r--  1 quarnster  wheel  38 19 Maj 14:34 p1.go

./src/github.com/axw/llgo/cmd/llgo-go/testdata/testimport/p2:
total 8
-rw-r--r--  1 quarnster  wheel  38 19 Maj 14:34 p2.go

./src/github.com/axw/llgo/cmd/llgo-link:
total 8
-rw-r--r--  1 quarnster  wheel  1707 19 Maj 14:34 main.go

./src/github.com/axw/llgo/llgo:
total 184
-rw-r--r--   1 quarnster  wheel   288 19 Maj 14:34 array_test.go
-rw-r--r--   1 quarnster  wheel   118 19 Maj 14:34 builtins_test.go
-rw-r--r--   1 quarnster  wheel   203 19 Maj 14:34 chan_test.go
-rw-r--r--   1 quarnster  wheel   122 19 Maj 14:34 const_test.go
-rw-r--r--   1 quarnster  wheel   327 19 Maj 14:34 conversion_test.go
-rw-r--r--   1 quarnster  wheel   565 19 Maj 14:34 function_test.go
-rw-r--r--   1 quarnster  wheel   790 19 Maj 14:34 init_test.go
-rw-r--r--   1 quarnster  wheel   900 19 Maj 14:34 interface_test.go
-rw-r--r--   1 quarnster  wheel   288 19 Maj 14:34 literals_test.go
-rw-r--r--   1 quarnster  wheel  6647 19 Maj 14:34 llgo.go
-rw-r--r--   1 quarnster  wheel   110 19 Maj 14:34 loop_test.go
-rw-r--r--   1 quarnster  wheel   424 19 Maj 14:34 map_test.go
-rw-r--r--   1 quarnster  wheel   108 19 Maj 14:34 nil_test.go
-rw-r--r--   1 quarnster  wheel   327 19 Maj 14:34 operator_test.go
-rw-r--r--   1 quarnster  wheel   690 19 Maj 14:34 slice_test.go
-rw-r--r--   1 quarnster  wheel  1549 19 Maj 14:34 stmt_test.go
-rw-r--r--   1 quarnster  wheel   656 19 Maj 14:34 strings_test.go
-rw-r--r--   1 quarnster  wheel   283 19 Maj 14:34 struct_test.go
drwxr-xr-x  35 quarnster  wheel  1190 19 Maj 14:34 testdata/
-rw-r--r--   1 quarnster  wheel   116 19 Maj 14:34 types_test.go
-rw-r--r--   1 quarnster  wheel   551 19 Maj 14:34 unsafe_test.go
-rw-r--r--   1 quarnster  wheel  6156 19 Maj 14:34 utils_test.go

./src/github.com/axw/llgo/llgo/testdata:
total 88
drwxr-xr-x   5 quarnster  wheel   170 19 Maj 14:34 arrays/
drwxr-xr-x   7 quarnster  wheel   238 19 Maj 14:34 assignment/
drwxr-xr-x   4 quarnster  wheel   136 19 Maj 14:34 branching/
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 chan/
-rw-r--r--   1 quarnster  wheel   118 19 Maj 14:34 circulartype.go
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 closures/
-rw-r--r--   1 quarnster  wheel   119 19 Maj 14:34 complex.go
-rw-r--r--   1 quarnster  wheel   886 19 Maj 14:34 const.go
drwxr-xr-x   5 quarnster  wheel   170 19 Maj 14:34 conversions/
-rw-r--r--   1 quarnster  wheel  1265 19 Maj 14:34 defer.go
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 errors/
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 for/
-rw-r--r--   1 quarnster  wheel   169 19 Maj 14:34 fun.go
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 functions/
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 if/
-rw-r--r--   1 quarnster  wheel   140 19 Maj 14:34 init.go
-rw-r--r--   1 quarnster  wheel    78 19 Maj 14:34 init2.go
drwxr-xr-x  11 quarnster  wheel   374 19 Maj 14:34 interfaces/
drwxr-xr-x   6 quarnster  wheel   204 19 Maj 14:34 literals/
drwxr-xr-x   6 quarnster  wheel   204 19 Maj 14:34 maps/
drwxr-xr-x   4 quarnster  wheel   136 19 Maj 14:34 methods/
-rw-r--r--   1 quarnster  wheel   125 19 Maj 14:34 new.go
-rw-r--r--   1 quarnster  wheel   364 19 Maj 14:34 nil.go
drwxr-xr-x   5 quarnster  wheel   170 19 Maj 14:34 operators/
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 programs/
drwxr-xr-x  10 quarnster  wheel   340 19 Maj 14:34 slices/
drwxr-xr-x   9 quarnster  wheel   306 19 Maj 14:34 strings/
drwxr-xr-x   4 quarnster  wheel   136 19 Maj 14:34 structs/
drwxr-xr-x   8 quarnster  wheel   272 19 Maj 14:34 switch/
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 types/
drwxr-xr-x   8 quarnster  wheel   272 19 Maj 14:34 unsafe/
-rw-r--r--   1 quarnster  wheel   283 19 Maj 14:34 var.go
-rw-r--r--   1 quarnster  wheel   210 19 Maj 14:34 varargs.go

./src/github.com/axw/llgo/llgo/testdata/arrays:
total 24
-rw-r--r--  1 quarnster  wheel  382 19 Maj 14:34 index.go
-rw-r--r--  1 quarnster  wheel  115 19 Maj 14:34 range.go
-rw-r--r--  1 quarnster  wheel   91 19 Maj 14:34 slice.go

./src/github.com/axw/llgo/llgo/testdata/assignment:
total 40
-rw-r--r--  1 quarnster  wheel  237 19 Maj 14:34 arrays.go
-rw-r--r--  1 quarnster  wheel  121 19 Maj 14:34 binop.go
-rw-r--r--  1 quarnster  wheel   74 19 Maj 14:34 dereferencing.go
-rw-r--r--  1 quarnster  wheel  323 19 Maj 14:34 multi.go
-rw-r--r--  1 quarnster  wheel  309 19 Maj 14:34 namedresult.go

./src/github.com/axw/llgo/llgo/testdata/branching:
total 16
-rw-r--r--  1 quarnster  wheel  235 19 Maj 14:34 goto.go
-rw-r--r--  1 quarnster  wheel  158 19 Maj 14:34 labeled.go

./src/github.com/axw/llgo/llgo/testdata/chan:
total 8
-rw-r--r--  1 quarnster  wheel  86 19 Maj 14:34 buffered.go

./src/github.com/axw/llgo/llgo/testdata/closures:
total 8
-rw-r--r--  1 quarnster  wheel  165 19 Maj 14:34 basic.go

./src/github.com/axw/llgo/llgo/testdata/conversions:
total 24
-rw-r--r--  1 quarnster  wheel   168 19 Maj 14:34 complex.go
-rw-r--r--  1 quarnster  wheel  1101 19 Maj 14:34 float.go
-rw-r--r--  1 quarnster  wheel   116 19 Maj 14:34 sameunderlying.go

./src/github.com/axw/llgo/llgo/testdata/errors:
total 8
-rw-r--r--  1 quarnster  wheel  63 19 Maj 14:34 recover.go

./src/github.com/axw/llgo/llgo/testdata/for:
total 8
-rw-r--r--  1 quarnster  wheel  327 19 Maj 14:34 branch.go

./src/github.com/axw/llgo/llgo/testdata/functions:
total 8
-rw-r--r--  1 quarnster  wheel  276 19 Maj 14:34 multivalue.go

./src/github.com/axw/llgo/llgo/testdata/if:
total 8
-rw-r--r--  1 quarnster  wheel  406 19 Maj 14:34 lazy.go

./src/github.com/axw/llgo/llgo/testdata/interfaces:
total 72
-rw-r--r--  1 quarnster  wheel  816 19 Maj 14:34 assert.go
-rw-r--r--  1 quarnster  wheel  519 19 Maj 14:34 basic.go
-rw-r--r--  1 quarnster  wheel   94 19 Maj 14:34 comparei2v.go
-rw-r--r--  1 quarnster  wheel  643 19 Maj 14:34 error.go
-rw-r--r--  1 quarnster  wheel  393 19 Maj 14:34 i2i_conversion.go
-rw-r--r--  1 quarnster  wheel  128 19 Maj 14:34 import.go
-rw-r--r--  1 quarnster  wheel  454 19 Maj 14:34 methods.go
-rw-r--r--  1 quarnster  wheel  382 19 Maj 14:34 static_conversion.go
-rw-r--r--  1 quarnster  wheel  648 19 Maj 14:34 wordsize.go

./src/github.com/axw/llgo/llgo/testdata/literals:
total 32
-rw-r--r--  1 quarnster  wheel  887 19 Maj 14:34 array.go
-rw-r--r--  1 quarnster  wheel   86 19 Maj 14:34 func.go
-rw-r--r--  1 quarnster  wheel  251 19 Maj 14:34 slice.go
-rw-r--r--  1 quarnster  wheel  580 19 Maj 14:34 struct.go

./src/github.com/axw/llgo/llgo/testdata/maps:
total 32
-rw-r--r--  1 quarnster  wheel  212 19 Maj 14:34 delete.go
-rw-r--r--  1 quarnster  wheel  269 19 Maj 14:34 insert.go
-rw-r--r--  1 quarnster  wheel  131 19 Maj 14:34 lookup.go
-rw-r--r--  1 quarnster  wheel  354 19 Maj 14:34 range.go

./src/github.com/axw/llgo/llgo/testdata/methods:
total 16
-rw-r--r--  1 quarnster  wheel  246 19 Maj 14:34 nilrecv.go
-rw-r--r--  1 quarnster  wheel  405 19 Maj 14:34 selectors.go

./src/github.com/axw/llgo/llgo/testdata/operators:
total 24
-rw-r--r--  1 quarnster  wheel  1330 19 Maj 14:34 basics.go
-rw-r--r--  1 quarnster  wheel   111 19 Maj 14:34 binary_untyped.go
-rw-r--r--  1 quarnster  wheel   245 19 Maj 14:34 shifts.go

./src/github.com/axw/llgo/llgo/testdata/programs:
total 0
drwxr-xr-x  3 quarnster  wheel  102 19 Maj 14:34 nacl/

./src/github.com/axw/llgo/llgo/testdata/programs/nacl:
total 8
-rw-r--r--  1 quarnster  wheel  3204 19 Maj 14:34 example.go

./src/github.com/axw/llgo/llgo/testdata/slices:
total 64
-rw-r--r--  1 quarnster  wheel  363 19 Maj 14:34 append.go
-rw-r--r--  1 quarnster  wheel  460 19 Maj 14:34 cap.go
-rw-r--r--  1 quarnster  wheel  139 19 Maj 14:34 compare.go
-rw-r--r--  1 quarnster  wheel  175 19 Maj 14:34 copy.go
-rw-r--r--  1 quarnster  wheel   97 19 Maj 14:34 index.go
-rw-r--r--  1 quarnster  wheel  102 19 Maj 14:34 literal.go
-rw-r--r--  1 quarnster  wheel  110 19 Maj 14:34 make.go
-rw-r--r--  1 quarnster  wheel  293 19 Maj 14:34 sliceexpr.go

./src/github.com/axw/llgo/llgo/testdata/strings:
total 56
-rw-r--r--  1 quarnster  wheel  127 19 Maj 14:34 add.go
-rw-r--r--  1 quarnster  wheel  299 19 Maj 14:34 bytes.go
-rw-r--r--  1 quarnster  wheel  640 19 Maj 14:34 compare.go
-rw-r--r--  1 quarnster  wheel   69 19 Maj 14:34 index.go
-rw-r--r--  1 quarnster  wheel  321 19 Maj 14:34 range.go
-rw-r--r--  1 quarnster  wheel  512 19 Maj 14:34 runetostring.go
-rw-r--r--  1 quarnster  wheel  109 19 Maj 14:34 slice.go

./src/github.com/axw/llgo/llgo/testdata/structs:
total 16
-rw-r--r--  1 quarnster  wheel  166 19 Maj 14:34 compare.go
-rw-r--r--  1 quarnster  wheel  466 19 Maj 14:34 embed.go

./src/github.com/axw/llgo/llgo/testdata/switch:
total 48
-rw-r--r--  1 quarnster  wheel  182 19 Maj 14:34 branch.go
-rw-r--r--  1 quarnster  wheel  154 19 Maj 14:34 default.go
-rw-r--r--  1 quarnster  wheel  110 19 Maj 14:34 empty.go
-rw-r--r--  1 quarnster  wheel  169 19 Maj 14:34 scope.go
-rw-r--r--  1 quarnster  wheel  171 19 Maj 14:34 strings.go
-rw-r--r--  1 quarnster  wheel  918 19 Maj 14:34 type.go

./src/github.com/axw/llgo/llgo/testdata/types:
total 8
-rw-r--r--  1 quarnster  wheel  250 19 Maj 14:34 recursive.go

./src/github.com/axw/llgo/llgo/testdata/unsafe:
total 48
-rw-r--r--  1 quarnster  wheel   146 19 Maj 14:34 const_sizeof.go
-rw-r--r--  1 quarnster  wheel   234 19 Maj 14:34 offsetof.go
-rw-r--r--  1 quarnster  wheel   270 19 Maj 14:34 pointer.go
-rw-r--r--  1 quarnster  wheel   134 19 Maj 14:34 sizeof_array.go
-rw-r--r--  1 quarnster  wheel  1368 19 Maj 14:34 sizeof_basic.go
-rw-r--r--  1 quarnster  wheel   130 19 Maj 14:34 sizeof_struct.go

./src/github.com/axw/llgo/pkg:
total 0
drwxr-xr-x  46 quarnster  wheel  1564 19 Maj 14:34 math/
drwxr-xr-x   4 quarnster  wheel   136 19 Maj 14:34 nacl/
drwxr-xr-x  40 quarnster  wheel  1360 19 Maj 14:34 runtime/
drwxr-xr-x   3 quarnster  wheel   102 19 Maj 14:34 sync/
drwxr-xr-x  22 quarnster  wheel   748 19 Maj 14:34 syscall/

./src/github.com/axw/llgo/pkg/math:
total 480
-rw-r--r--  1 quarnster  wheel    440 19 Maj 14:34 abs.go
-rw-r--r--  1 quarnster  wheel   1735 19 Maj 14:34 acosh.go
-rw-r--r--  1 quarnster  wheel    957 19 Maj 14:34 asin.go
-rw-r--r--  1 quarnster  wheel   1869 19 Maj 14:34 asinh.go
-rw-r--r--  1 quarnster  wheel   3030 19 Maj 14:34 atan.go
-rw-r--r--  1 quarnster  wheel   1485 19 Maj 14:34 atan2.go
-rw-r--r--  1 quarnster  wheel   1943 19 Maj 14:34 atanh.go
-rw-r--r--  1 quarnster  wheel   1835 19 Maj 14:34 bits.go
-rw-r--r--  1 quarnster  wheel   1641 19 Maj 14:34 cbrt.go
-rw-r--r--  1 quarnster  wheel   2031 19 Maj 14:34 const.go
-rw-r--r--  1 quarnster  wheel    378 19 Maj 14:34 copysign.go
-rw-r--r--  1 quarnster  wheel   1371 19 Maj 14:34 dim.go
-rw-r--r--  1 quarnster  wheel  11598 19 Maj 14:34 erf.go
-rw-r--r--  1 quarnster  wheel   5375 19 Maj 14:34 exp.go
-rw-r--r--  1 quarnster  wheel   8073 19 Maj 14:34 expm1.go
-rw-r--r--  1 quarnster  wheel   1084 19 Maj 14:34 floor.go
-rw-r--r--  1 quarnster  wheel    860 19 Maj 14:34 frexp.go
-rw-r--r--  1 quarnster  wheel   4957 19 Maj 14:34 gamma.go
-rw-r--r--  1 quarnster  wheel    798 19 Maj 14:34 hypot.go
-rw-r--r--  1 quarnster  wheel  13919 19 Maj 14:34 j0.go
-rw-r--r--  1 quarnster  wheel  13599 19 Maj 14:34 j1.go
-rw-r--r--  1 quarnster  wheel   7415 19 Maj 14:34 jn.go
-rw-r--r--  1 quarnster  wheel    990 19 Maj 14:34 ldexp.go
-rw-r--r--  1 quarnster  wheel  11263 19 Maj 14:34 lgamma.go
-rw-r--r--  1 quarnster  wheel   3891 19 Maj 14:34 log.go
-rw-r--r--  1 quarnster  wheel    575 19 Maj 14:34 log10.go
-rw-r--r--  1 quarnster  wheel   6470 19 Maj 14:34 log1p.go
-rw-r--r--  1 quarnster  wheel   1014 19 Maj 14:34 logb.go
-rw-r--r--  1 quarnster  wheel   1493 19 Maj 14:34 math.ll
-rw-r--r--  1 quarnster  wheel    874 19 Maj 14:34 mod.go
-rw-r--r--  1 quarnster  wheel    776 19 Maj 14:34 modf.go
-rw-r--r--  1 quarnster  wheel    682 19 Maj 14:34 nextafter.go
-rw-r--r--  1 quarnster  wheel   2656 19 Maj 14:34 pow.go
-rw-r--r--  1 quarnster  wheel    828 19 Maj 14:34 pow10.go
-rw-r--r--  1 quarnster  wheel   1959 19 Maj 14:34 remainder.go
-rw-r--r--  1 quarnster  wheel    302 19 Maj 14:34 signbit.go
-rw-r--r--  1 quarnster  wheel   6385 19 Maj 14:34 sin.go
-rw-r--r--  1 quarnster  wheel   1862 19 Maj 14:34 sincos.go
-rw-r--r--  1 quarnster  wheel   1535 19 Maj 14:34 sinh.go
-rw-r--r--  1 quarnster  wheel   4758 19 Maj 14:34 sqrt.go
-rw-r--r--  1 quarnster  wheel   3730 19 Maj 14:34 tan.go
-rw-r--r--  1 quarnster  wheel   2625 19 Maj 14:34 tanh.go
-rw-r--r--  1 quarnster  wheel    859 19 Maj 14:34 unsafe.go

./src/github.com/axw/llgo/pkg/nacl:
total 8
-rw-r--r--   1 quarnster  wheel  1484 19 Maj 14:34 LICENSE.chromium
drwxr-xr-x  19 quarnster  wheel   646 19 Maj 14:34 ppapi/

./src/github.com/axw/llgo/pkg/nacl/ppapi:
total 144
-rw-r--r--  1 quarnster  wheel   509 19 Maj 14:34 bool.go
-rw-r--r--  1 quarnster  wheel   502 19 Maj 14:34 completion_callback.go
-rw-r--r--  1 quarnster  wheel   975 19 Maj 14:34 core.go
-rw-r--r--  1 quarnster  wheel  4626 19 Maj 14:34 errors.go
-rw-r--r--  1 quarnster  wheel   622 19 Maj 14:34 graphics2d.go
-rw-r--r--  1 quarnster  wheel   876 19 Maj 14:34 image_data.go
-rw-r--r--  1 quarnster  wheel   750 19 Maj 14:34 instance.go
-rw-r--r--  1 quarnster  wheel   231 19 Maj 14:34 messaging.go
-rw-r--r--  1 quarnster  wheel  3596 19 Maj 14:34 module.go
-rw-r--r--  1 quarnster  wheel   247 19 Maj 14:34 point.go
-rw-r--r--  1 quarnster  wheel  2977 19 Maj 14:34 ppapi.go
-rw-r--r--  1 quarnster  wheel   306 19 Maj 14:34 rect.go
-rw-r--r--  1 quarnster  wheel   177 19 Maj 14:34 resource.go
-rw-r--r--  1 quarnster  wheel   206 19 Maj 14:34 size.go
-rw-r--r--  1 quarnster  wheel   377 19 Maj 14:34 time.go
-rw-r--r--  1 quarnster  wheel  1048 19 Maj 14:34 var.go
-rw-r--r--  1 quarnster  wheel   601 19 Maj 14:34 view.go

./src/github.com/axw/llgo/pkg/runtime:
total 344
-rw-r--r--  1 quarnster  wheel   566 19 Maj 14:34 alg.go
-rw-r--r--  1 quarnster  wheel   255 19 Maj 14:34 alg.ll
-rw-r--r--  1 quarnster  wheel   239 19 Maj 14:34 bits.go
-rw-r--r--  1 quarnster  wheel   267 19 Maj 14:34 bits.ll
-rw-r--r--  1 quarnster  wheel  2149 19 Maj 14:34 chan.go
-rw-r--r--  1 quarnster  wheel  6028 19 Maj 14:34 debug.go
-rw-r--r--  1 quarnster  wheel   117 19 Maj 14:34 dummy.go
-rw-r--r--  1 quarnster  wheel   258 19 Maj 14:34 env.go
-rw-r--r--  1 quarnster  wheel  2672 19 Maj 14:34 error.go
-rw-r--r--  1 quarnster  wheel  5946 19 Maj 14:34 extern.go
-rw-r--r--  1 quarnster  wheel   277 19 Maj 14:34 float.go
-rw-r--r--  1 quarnster  wheel   294 19 Maj 14:34 float.ll
-rw-r--r--  1 quarnster  wheel  2023 19 Maj 14:34 goroutine.c_
-rw-r--r--  1 quarnster  wheel  2218 19 Maj 14:34 interfaces.go
-rw-r--r--  1 quarnster  wheel   101 19 Maj 14:34 inttypes.h
-rw-r--r--  1 quarnster  wheel  1027 19 Maj 14:34 main.go
-rw-r--r--  1 quarnster  wheel   243 19 Maj 14:34 main.ll
-rw-r--r--  1 quarnster  wheel  4514 19 Maj 14:34 maps.go
-rw-r--r--  1 quarnster  wheel  1920 19 Maj 14:34 mem.go
-rw-r--r--  1 quarnster  wheel  1611 19 Maj 14:34 memory.go
-rw-r--r--  1 quarnster  wheel   977 19 Maj 14:34 os.go
-rw-r--r--  1 quarnster  wheel  2337 19 Maj 14:34 panic.c
-rw-r--r--  1 quarnster  wheel   494 19 Maj 14:34 panic.go
-rw-r--r--  1 quarnster  wheel   670 19 Maj 14:34 panic.h
-rw-r--r--  1 quarnster  wheel  1161 19 Maj 14:34 panic.ll
-rw-r--r--  1 quarnster  wheel  1448 19 Maj 14:34 print.go
-rw-r--r--  1 quarnster  wheel  1422 19 Maj 14:34 reflect.go
-rw-r--r--  1 quarnster  wheel   269 19 Maj 14:34 sem.ll
-rw-r--r--  1 quarnster  wheel   213 19 Maj 14:34 signal.go
-rw-r--r--  1 quarnster  wheel  1850 19 Maj 14:34 slices.go
-rw-r--r--  1 quarnster  wheel  9721 19 Maj 14:34 softfloat64.go
-rw-r--r--  1 quarnster  wheel  3424 19 Maj 14:34 strings.go
-rw-r--r--  1 quarnster  wheel   417 19 Maj 14:34 time.go
-rw-r--r--  1 quarnster  wheel   176 19 Maj 14:34 trap.go
-rw-r--r--  1 quarnster  wheel   260 19 Maj 14:34 trap.ll
-rw-r--r--  1 quarnster  wheel  2749 19 Maj 14:34 types.go
-rw-r--r--  1 quarnster  wheel   486 19 Maj 14:34 unsafe.go
-rw-r--r--  1 quarnster  wheel   890 19 Maj 14:34 unwind.c

./src/github.com/axw/llgo/pkg/sync:
total 0
drwxr-xr-x  4 quarnster  wheel  136 19 Maj 14:34 atomic/

./src/github.com/axw/llgo/pkg/sync/atomic:
total 16
-rw-r--r--  1 quarnster  wheel  2365 19 Maj 14:34 atomic.go
-rw-r--r--  1 quarnster  wheel  2064 19 Maj 14:34 atomic.ll

./src/github.com/axw/llgo/pkg/syscall:
total 416
-rw-r--r--  1 quarnster  wheel   3840 19 Maj 14:34 bpf_bsd.go
-rw-r--r--  1 quarnster  wheel   2125 19 Maj 14:34 env_unix.go
-rw-r--r--  1 quarnster  wheel   5981 19 Maj 14:34 exec_bsd.go
-rw-r--r--  1 quarnster  wheel   7162 19 Maj 14:34 exec_unix.go
-rw-r--r--  1 quarnster  wheel    334 19 Maj 14:34 race0.go
-rw-r--r--  1 quarnster  wheel   4729 19 Maj 14:34 route_bsd.go
-rw-r--r--  1 quarnster  wheel   1880 19 Maj 14:34 route_darwin.go
-rw-r--r--  1 quarnster  wheel   2904 19 Maj 14:34 sockcmsg_unix.go
-rw-r--r--  1 quarnster  wheel    484 19 Maj 14:34 str.go
-rw-r--r--  1 quarnster  wheel   2835 19 Maj 14:34 syscall.go
-rw-r--r--  1 quarnster  wheel  17223 19 Maj 14:34 syscall_bsd.go
-rw-r--r--  1 quarnster  wheel  10469 19 Maj 14:34 syscall_darwin.go
-rw-r--r--  1 quarnster  wheel   1329 19 Maj 14:34 syscall_darwin_amd64.go
-rw-r--r--  1 quarnster  wheel   2278 19 Maj 14:34 syscall_linux_amd64.ll
-rw-r--r--  1 quarnster  wheel   3493 19 Maj 14:34 syscall_unix.go
-rw-r--r--  1 quarnster  wheel  56414 19 Maj 14:34 zerrors_darwin_amd64.go
-rw-r--r--  1 quarnster  wheel  30627 19 Maj 14:34 zsyscall_darwin_amd64.go
-rw-r--r--  1 quarnster  wheel  14875 19 Maj 14:34 zsysnum_darwin_amd64.go
-rw-r--r--  1 quarnster  wheel   6856 19 Maj 14:34 ztypes_darwin_amd64.go
14:34 /tmp/go $
axw commented 11 years ago

@quarnster Okay. Sorry, I hadn't noticed that you're on OS X. Now that I'm looking at the right definition of forkAndExecInChild, I think I can see the problem. llgo isn't handling a terminating for{...} properly. I'll open a new issue for this.

quarnster commented 11 years ago

Got it. FWIW the same procedure worked fine in my ubuntu vm, so I think you're on to something here :)

axw commented 11 years ago

@quarnster That problem should be fixed. I don't have a Mac so I can't tell you whether you'll meet any more surprises.

quarnster commented 11 years ago

Indeed, and a simple println("hello") worked fine too. Cheers!

kortschak commented 11 years ago

Just following up my report above - build is now successful with 9d7fb6 (poss. before this - this is the first attempt since failure). Thanks.

quarnster commented 10 years ago

This one can be closed too, I believe?

axw commented 10 years ago

Yep, llgo-dist is the way to go. I updated the README last night to show how to use it.