llgo: Emit more debug metadata. For issue #49.
llgo: newStackVar split into newStackVar, newArgStackVar and *Ex

Also put in a new "var.go" file.
Merge pull request #78 from quarnster/debug

llgo: Emit more debug metadata. For issue #49.
pkg/runtime: fix jumped-over var decls
Merge branch 'master' of github.com:axw/llgo
sync/atomic: Use correct LoadIntxx types.

Stumbled upon this as importing the correct llgo packages is starting
to work and thus go.types started complaining about mismatched types
for these functions.
Merge pull request #84 from quarnster/atomic_fix

sync/atomic: Use correct LoadIntxx types.
pkg/math: add Ceil and Trunc
Merge branch 'master' of github.com:axw/llgo
Implement method values

Go 1.1 method values are now supported.

Converting a method to a function (i.e. with no receiver)
triggers method value assignment. There's a fair bit of
overlap with how concrete methods are assigned to interface
functions, so this needs to be refactored at some stage.

Fixes #63
Fixes #64
Fixes #66
Fixes #67
Add libm to static library link-line
Handle struct{} properly in interface conversions

Fixes #67
llgo: make "name" attribute take the name if it was already defined.

Only for functions though.
Create dummy implementations as needed. Part of #54 and #55

- Add sha1block code from Go's sha1/sha1block package.
- Turn lock_unimplemented to lock_spin
- Added strings.IndexByte. Fixes #53
llgo: Custom package importer/exporter. Fixes issue #43

I suggest making the drone.io builder run llgo-dist through twice.
The first time it'll use the "regular" gc importer for uncompiled
packages. The second run, all packages have been compiled and should
thus use the custom importer.
cmd/llgo-build: Add -test flag creating a test binary. For #48.

This is able to create a binary for some packages, although I'm
having issues actually running them. Will comment in #48 with more
details.

This PR depends on having merged the others first.
pkg/runtime: Add Compiler constant
Merge pull request #87 from quarnster/dummy

Create dummy implementations as needed. Part of #54 and #55
Merge pull request #89 from quarnster/exports

llgo: Custom package importer/exporter. Fixes issue #43
Merge pull request #88 from quarnster/nameattr

llgo: make "name" attribute take the name if it was already defined.