Commit Graph

2344 Commits

Author SHA1 Message Date
visualfc
eaf7e56083 ssa: fix const for named string 2024-12-16 15:00:32 +08:00
xushiwei
a05bda9fc3 Merge pull request #762 from spongehah/golib/time
lib/time: patch div and Time.Round
2024-12-10 18:51:45 +08:00
xushiwei
5936b57bac Merge pull request #909 from tsingbx/llgo/linkerror
fix link fail for cjsondemo
2024-12-08 11:24:55 +08:00
tsingbx
af2bcd389e fix link error 2024-12-08 10:18:47 +08:00
xushiwei
4bec9b038b Merge pull request #906 from visualfc/llccheck
[WIP] build: env LLGO_CHECK=1 for llc check module
2024-12-05 12:17:15 +08:00
visualfc
0b3ce5f65a build: env LLGO_CHECK=1 for llc check module 2024-12-05 11:07:21 +08:00
xushiwei
cb8e820f5d Merge pull request #905 from luoliwoshang/c/FILE
c:file
2024-12-05 09:56:43 +08:00
luoliwoshang
0a4ce9d65e c:FILE 2024-12-04 15:02:54 +08:00
xushiwei
f20d74c1f3 Merge pull request #904 from visualfc/revert-630-deferargs
Revert "ssa: defer load/store func and args"
2024-12-04 09:47:36 +08:00
七叶
3505be422e Revert "ssa: defer load/store func and args" 2024-12-03 21:00:49 +08:00
xushiwei
7e9542e79a Merge pull request #898 from visualfc/expand
xtool/env: fix ExpandEnvToArgs check pkg-config
2024-12-03 09:33:59 +08:00
visualfc
a1c1a4889b xtool/env: fix ExpandEnvToArgs check pkg-config 2024-12-03 09:17:54 +08:00
xushiwei
7a5bd6ae6a Merge pull request #630 from visualfc/deferargs
ssa: defer load/store func and args
2024-12-02 13:51:25 +08:00
xushiwei
d20e60afb3 Merge pull request #891 from visualfc/debug
[WIP] c/debug: func addr and info
2024-12-02 13:46:56 +08:00
xushiwei
7340263e6a Merge pull request #893 from tsingbx/clang
add clang.GoString, clang.File functions for helper of llcppsymg struct_methodname
2024-12-02 13:45:55 +08:00
visualfc
6e8cecd13e cl/_testgo: defer6 2024-12-02 11:43:20 +08:00
tsingbx
f106a0854f use temp to reduse clangStr.CStr call times 2024-12-02 10:20:41 +08:00
tsingbx
68b09e87b3 add clang.GoString, clang.File functions for helper of llcppsymg struct_methodname 2024-12-02 09:52:35 +08:00
visualfc
11f2ecd675 ssa: defer load/store func and args 2024-11-30 14:31:23 +08:00
visualfc
7b6b8b0eeb c/debug: StackTrace 2024-11-30 13:47:37 +08:00
visualfc
67f9580c5d c/debug: func addr and info 2024-11-30 13:45:19 +08:00
xushiwei
6a3fce97cf Merge pull request #894 from cpunion/fix-release-build
ci: lock release build to llvm@18
2024-11-29 16:43:35 +08:00
Li Jie
2bd266a7fc ci: lock release build to llvm@18 2024-11-29 10:26:14 +08:00
xushiwei
f6946b88d2 Merge pull request #890 from luoliwoshang/c/sizet
c:some stdint type
2024-11-28 18:25:08 +08:00
xushiwei
5e5df6becd Merge pull request #881 from cpunion/cgo-extra
cgo: support macros and callbacks (fpvars)
2024-11-28 18:24:11 +08:00
luoliwoshang
6c4cb92249 c:stdint type 2024-11-27 23:48:02 +08:00
Li Jie
c3407eac5e cgo: supports //export functions only calls in C 2024-11-27 20:24:53 +08:00
Li Jie
e46b3e24d6 test: move cgo demo into _testgo, and make links 2024-11-27 18:41:56 +08:00
Li Jie
90763de93c cgo: supports c/go callback funcs 2024-11-27 18:41:56 +08:00
Li Jie
5380ffa471 cgo: ignore funcs won't be compiled 2024-11-27 18:41:56 +08:00
Li Jie
c9f436cc47 cgo: full test
cgo: test returning void
2024-11-27 18:41:56 +08:00
Li Jie
39dc68fa4e demo/cgofull: add multi cgo module and macro calling 2024-11-27 18:41:56 +08:00
Li Jie
d6c527f662 cgo: support macros 2024-11-27 18:41:56 +08:00
xushiwei
38a7f4f7d5 Merge pull request #888 from xushiwei/q
mv llcppg => github.com/goplus/llcppg
v0.9.8
2024-11-27 17:35:50 +08:00
xushiwei
1605959a04 ci: rm Install llcppg 2024-11-27 17:24:12 +08:00
xushiwei
b837e0005a gogensig 2024-11-27 17:19:21 +08:00
xushiwei
58937a5366 mv llcppsigfetch,llcppsymg => github.com/goplus/llcppg 2024-11-27 17:17:40 +08:00
xushiwei
8562c03f80 mv llcppg => github.com/goplus/llcppg 2024-11-27 17:08:27 +08:00
xushiwei
1cd61b9169 Merge pull request #886 from visualfc/reflect.map
reflect: implement map
2024-11-27 14:12:56 +08:00
xushiwei
c69e289afe Merge pull request #887 from goplus/dependabot/go_modules/github.com/goplus/gogen-1.16.3
build(deps): bump github.com/goplus/gogen from 1.16.2 to 1.16.3
2024-11-27 14:12:31 +08:00
visualfc
91b46b05ad cl/_testgo/reflect: map demo 2024-11-27 11:31:28 +08:00
visualfc
2412760f1c internal/lib/reflect: makemap 2024-11-27 11:31:07 +08:00
dependabot[bot]
d83c5493c7 build(deps): bump github.com/goplus/gogen from 1.16.2 to 1.16.3
Bumps [github.com/goplus/gogen](https://github.com/goplus/gogen) from 1.16.2 to 1.16.3.
- [Release notes](https://github.com/goplus/gogen/releases)
- [Commits](https://github.com/goplus/gogen/compare/v1.16.2...v1.16.3)

---
updated-dependencies:
- dependency-name: github.com/goplus/gogen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-27 03:26:05 +00:00
xushiwei
d041703dc6 Merge pull request #885 from cpunion/fix
fix: wrong llvm libs flag
2024-11-27 11:24:39 +08:00
visualfc
ecba13c38e internal/lib/reflect: use sync.Map 2024-11-27 10:33:22 +08:00
visualfc
cd3a4bb8c8 reflect: implement map 2024-11-26 20:45:01 +08:00
Li Jie
97f72b93e1 fix: wrong llvm libs flag 2024-11-26 16:08:29 +08:00
xushiwei
e93d57983e Merge pull request #884 from cpunion/unify-build
Unify cltest, llgen, gentests to build.Do
2024-11-26 15:58:06 +08:00
Li Jie
43c4a3bfdc test: enable debug testing 2024-11-26 15:43:34 +08:00
Li Jie
954cc0e8bc test: ignore syncmap since different pthread_mutex_t size on macOS and linux 2024-11-26 13:21:33 +08:00