Skip to content

Releases: goplus/llgo

v0.9.7

01 Sep 10:17
1a63c92
Compare
Choose a tag to compare

libraries:

tools:

features:

  • llgo/ssa: SliceToArrayPointer (#689)
  • runtime: signal SIGSEGV (#710)
  • runtime: init abi.Type.PtrBytes (#518)
  • build: check -tags nogc (#724)

changes:

  • cl: makeInterface check instance named (#695)
  • llgo/ssa: makeInterface check funcdecl => closure (#717)
  • llgo/ssa: fix defer move block[0] index (#643)
  • llgo/ssa: const support unsafe.Pointer (#703)
  • llgo/ssa: fix map zero (#726)
  • llgo/ssa: prog.linkname; abi llvm.LinkOnceAnyLinkage always (#735)

v0.9.6

08 Aug 16:48
210c483
Compare
Choose a tag to compare

libraries:

tools:

changes:

  • cl: initAfter fix (#684)
  • mod: rollback golang.org/x/tools v0.22.0 => v0.19.0 (#686)

v0.9.5

07 Aug 15:14
aa4f518
Compare
Choose a tag to compare

highlights:

  • priority and state of Go std packages support (#642)

libraries:

tools:

changes:

  • llgo/ssa: fix abi map init (#669)
  • ci: install further optional dependencies for demos (#625)
  • ci (.goreleaser.yaml): correct ldflags for build version and time (#626)

v0.9.4

30 Jul 14:58
621f05c
Compare
Choose a tag to compare

libraries:

  • path, path/filepath (#593)
  • regexp, regexp/syntax (#598 #602)
  • encoding/{binary, hex, base32, base64} (#604)
  • hash, hash/{adler32, crc32, crc64} (#615)
  • bufio, encoding/csv (#606)
  • bytes (#602)
  • math/rand (#617)
  • crypto/md5 (#608)
  • os/exec (#587 #590)
  • reflect.Value: Uint fix (#591)
  • os.Pipe, syscall.CloseOnExec (#589)
  • os.Expand (#596)
  • os.ReadFile (#612)
  • io.Pipe (#578 #579 #582 #586)
  • c/openssl (#607 #616)
  • c/zlib: crc32/adler32 (#615)
  • c/pthread/sync: use C to wrap return type (#576)
  • c/lua:metatable & coroutine (#584)
  • c/libuv: fix return type FsType & struct rename (#572)
  • cpp/std: support nogc (#594)
  • py: add some basic dict methods (#605)
  • README (#601 #611 #618)

tools:

changes:

  • llgo/ssa: fix panic in defer (#583)
  • llgo/ssa: closure changeType check convert (#600)
  • llgo/ssa: add support for min and max built-in functions (#614)
  • cl: afterInit skip pkgHasPatch (#580 #581)
  • cl: fix pkg init hasPatch && patch io.pipe (#582 #586)
  • build: fix sigsetjmp issues and ensure required libs on Linux (#597 #599)
  • build: replicate macOS -dead_strip optimization on Linux (#610)
  • runtime: fix endSelect (#573)
  • runtime.Panic: mv error/Stringer to printany (#585)
  • xtool: nm/nmindex (#588)

v0.9.3

26 Jul 10:02
bc584aa
Compare
Choose a tag to compare

libraries:

tools:

changes:

  • llgo/ssa: fix binop closure/funcdecl (#539)
  • llgo/ssa: fix abiNamed for llc verified (#546)
  • llgo/ssa: fix map next for named (#559)
  • build: limit expand env to cmd pkg-config & llvm-config (#537 #550)
  • libraries: rust related (#523 #557)
  • pipedemo: todo (#571)

v0.9.2

18 Jul 17:08
8fc9779
Compare
Choose a tag to compare

highlights:

  • build: support rpath
  • c/neco: prepare for future coroutine-based goroutine version

libraries:

features:

changes:

  • llgo/ssa: BinOp (map equal) fix (#527)
  • llgo/ssa: abiNamed set underlying size (#529)
  • build: fix unsafe.Sizeof for llgo:type C (#524)

v0.9.1

13 Jul 13:44
9edeee4
Compare
Choose a tag to compare

highlights:

libraries:

features:

  • c.AllocaCStrs; ssa: AllocaU/ArrayAlloca/Times/AllocaCStrs (#504)
  • cl: support // llgo:type C (#454 #476)
  • build: replace precompiled *.lla with local compilation (#462)
  • build: clFiles support cflags (#505)
  • build _wrap: llgo_check (to be continued) (#506)
  • cmd: add llgo version command (#489)
  • README (#474 #481)

changes:

  • llgo/ssa: func binop eq fix (#460)
  • llgo/ssa: fix setDirectIface (#470)
  • llgo/ssa: fix return multi results (#477)
  • llgo/ssa: correct Sizeof to align size properly (#493)
  • build: ensure GOBIN directory exists before use (#464)
  • build: fix buildpkg (#490)
  • xtools: mv xtool/clang/parser, ar => chore/_deprecated (#475)
  • ci: implement release-build.yml workflow with GoReleaser (#494)
  • ci: update go.yml workflow to trigger on pushes and PRs to any branches (#469)
  • mod: github.com/goplus/mod v0.13.12

v0.9.0

07 Jul 11:21
8db3ccc
Compare
Choose a tag to compare

highlights:

  • All Go syntax (not including cgo) is already supported.

features:

libraries:

changes:

  • llgo/ssa: fix named func call (#445)
  • llvm: default to LLVM 18 (#456)
  • mod: github.com/goplus/llvm v0.8.0

v0.8.10

02 Jul 13:29
75ca4af
Compare
Choose a tag to compare

features:

libraries:

demos:

  • cppmintf: implements multiple intefaces in c++ (#398)
  • cmptest: sortdemo (#418)
  • cmptest: iodemo, fmtdemo (#437)

changes:

  • cl linkname: not exist method warning (#436)
  • llgo/ssa: phi.AddIncoming fix: use checkExpr (#419)
  • llgo/ssa: fix slice high (#428)
  • llgo/ssa: makeSlice fit int size and check (#425)
  • llgo/ssa: fix abiType && abiMethoOf (#392)
  • llgo/ssa: fix abiType & abiNamedOf (#417)
  • llgo/ssa: fix abi patch types.pointer (#434)
  • runtime: global abi basic (#421)
  • runtime: panic with any custom type (#399)
  • runtime: type align (#405)
  • build: fix link runtime (#438)
  • c/llama2: rm precompiled *.ll files (#407)
  • c/llama2: explicitly link libm to ensure compatibility with Linux (#408)
  • xtool: utilize llvm-config to find LLVM executables (#424)
  • update bytealg for pkg bytes/strings (#428)

v0.8.9

22 Jun 17:50
df39b66
Compare
Choose a tag to compare

highlights:

  • go syntax: support generics
  • go libraries: syscall, strconv, sort, reflect, math/cmplx, os, sync, sync/atomic
  • c libraries: c/os, c/math/cmplx, c/sync/atomic, c/pthread/sync
  • cmd: llgo cmptest [build flags] [packages] (#391 #393)

features:

  • patch library: llgo:skipall (#332 #343)
  • patch library: call init (#352 #355)
  • library: syscall (#366)
  • library: strconv (#369)
  • library: sort (#384 #385)
  • library: reflect (#371 #379 #380 #381 #382)
  • library: c/math/cmplx, math/cmplx (#368 #374)
  • library: c/os, os, demo: getcwd (#364 #376)
  • library: c/sync/atomic, sync/atomic (#326 #327 #328 #332 #333)
  • library: c/pthread/sync, sync (#339 #343 #348 #350)
  • library: c/cjson, c/sqlite README: how to install (#322 #365)
  • library: c string library (#364)
  • runtime: tracePanic (#363)
  • cl: c.Func (llgo.funcAddr) (#387)
  • cl: demo: cppintf (how to use c++ interface) (#387 #388 #389)
  • llgo/ssa: complex op and print/panic (#373)
  • builtin: real/imag/complex (#368)
  • build: instantiate generics (#351)
  • build: use -dead_strip to reduce app size (#325 #331)
  • build: LLGoFiles (support to compile c files) (#335)
  • build: overlayFiles for fix math on amd64 (#383)
  • build: disable verbose info for deps (#386)
  • cmd: llgo cmptest [build flags] [packages] (#391 #393)

changes:

  • llgo/ssa: fix ssa.Index and indexType (#330)
  • llgo/ssa: index/indexAddr check range (#346)
  • llgo/ssa: abi.TypeName fix: error interface is public (#364)
  • llgo/ssa: fix reentrant of ABI initialization (#377 #378)
  • cl: check context.inCFunc (#347)
  • cl: compileFuncDecl/funcName fix (#343)
  • cl: fn.SetRecover (#352)
  • patch library: fix (link dependencies) (#343)
  • patch library: llgo/ssa/abi: PathOf fix - support trim PatchPathPrefix (#360)
  • typepatch fix: don't change patch pkg (#360)
  • typepatch fix (don't change types) (#333)
  • typepatch: fix globalType (#348)
  • build: explicitly link libpthread for compatibility with glibc versions before 2.34 (#334)
  • build: set $GOPATH/bin as default GOBIN for Config.BinPath (#362)
  • build: remove check for default GOPATH and GOROOT being identical (#375)
  • library c: c.Int/Uint not alias C.int/uint (#349)
  • README: update install instruction of LLGOROOT (#356)
  • README: update python & install instructions (#357)
  • ci,README: improve install instructions (#338)
  • ci,README: add Dependencies section and update install instructions accordingly (#342)