xushiwei
cc9de01c99
Merge pull request #705 from luoliwoshang/os/mkdir
...
[wip] lib/os: patch MkdirAll
2024-08-14 10:29:48 +08:00
luoliwoshang
997d673b83
lib/os:MkdirAll use 1.21.13
2024-08-14 10:22:54 +08:00
xushiwei
6c72846d63
llgo cmptest -gen
2024-08-14 09:47:40 +08:00
luoliwoshang
8bd6e1d119
lib/os: patch MkdirAll
2024-08-14 09:41:16 +08:00
xushiwei
0e8e108680
Merge pull request #701 from aofei/cmptest
...
cmptest: add support for comparison with `llgo.expect` files
2024-08-14 08:57:20 +08:00
Aofei Sheng
30b1660005
lib/os: patch TempDir, MkdirTemp, CreateTemp
2024-08-12 18:20:22 +08:00
Aofei Sheng
200fe07473
cmptest: add support for comparison with llgo.expect files
...
Fixes #671
2024-08-12 13:52:20 +08:00
visualfc
302386d22c
ssa: SliceToArrayPointer
2024-08-09 09:02:57 +08:00
xushiwei
8ca4212650
library syscall: linux fix
2024-08-09 00:22:29 +08:00
tsingbx
df37f80c8e
add big.Int Lsh and Rsh and test it
2024-08-08 13:33:14 +08:00
tsingbx
289caa7cc2
add BN_CTX Start, Get, End and Add big.Int Mul and test it
2024-08-08 09:10:31 +08:00
tsingbx
0a8bad46b5
add big.Int Set, Abs, Neg and add test it
2024-08-08 08:31:03 +08:00
xushiwei
dbed8fefac
library: crypto/hmac
2024-08-06 18:49:24 +08:00
xushiwei
29c74c09ce
library/README: crypto/hmac, crypto/subtle
2024-08-06 17:19:31 +08:00
xushiwei
a2b5b9f97e
library (todo): crypto/hmac, internal/fmtsort
2024-08-06 17:03:22 +08:00
tsingbx
6a05aa4e53
llgo support crypto hmac ( #663 )
...
* llgo support crypto/hmac
2024-08-06 16:47:51 +08:00
Aofei Sheng
d1f33a6c4c
perf(lib/sync): avoid using defer
2024-08-03 09:05:43 +08:00
xushiwei
69f8d1b717
README: math/big
2024-08-01 08:46:37 +08:00
xushiwei
2e4b1d8c2b
library: math/big.Int (mini-impl for _cmptest/bigintdemo)
2024-08-01 00:32:21 +08:00
xushiwei
27677f86e4
library: crypto/{sha1, sha256, sha512}
2024-07-31 18:55:46 +08:00
tsingbx
c9a7dab419
delete sum
2024-07-31 14:56:03 +08:00
tsingbx
8882d75132
fix test error
2024-07-31 14:36:42 +08:00
tsingbx
f67b15b926
fix test fail
2024-07-31 14:28:15 +08:00
tsingbx
2d7958f726
add crypto sha1, sha256, sha512
2024-07-31 13:56:42 +08:00
xushiwei
5082ba7102
library: go/parser (todo)
2024-07-31 12:29:09 +08:00
xushiwei
af6e4abe84
library: crypto/rand
2024-07-31 10:26:18 +08:00
xushiwei
cacd52f81d
library: math/rand
2024-07-30 21:41:26 +08:00
xushiwei
1eaf124d4e
library: hash/{crc32, adler32}
2024-07-30 19:36:36 +08:00
xushiwei
c0e84043c9
library: os.ReadFile
2024-07-30 17:14:59 +08:00
Aofei Sheng
68fa3dadb0
build: replicate macOS -dead_strip optimization on Linux
...
Added `-fdata-sections` and `-ffunction-sections` compiler flags to work
with `--gc-sections` on Linux. This combination achieves similar dead
code elimination as macOS's `-dead_strip`, reducing binary size and
resolving undefined symbol issues. Ensures consistent optimization
across macOS and Linux builds.
2024-07-30 08:52:29 +08:00
xushiwei
d480bb3ecd
library: crypto/md5
2024-07-30 02:07:19 +08:00
xushiwei
3b95cbd960
Merge pull request #599 from aofei/sigsetjmp
...
ssa: fix `Builder.Sigsetjmp` for Linux
2024-07-29 17:54:19 +08:00
Aofei Sheng
3b5e8edd37
ssa: fix Builder.Sigsetjmp for Linux
...
This follows up on #597 .
2024-07-29 16:52:24 +08:00
xushiwei
5f4571e895
Merge pull request #602 from xushiwei/q
...
library: bytes, regexp, regexp/syntax
2024-07-29 16:37:42 +08:00
xushiwei
2d5e991eaf
library: bytes, regexp, regexp/syntax
2024-07-29 16:31:59 +08:00
xushiwei
23bfaf1ba2
Merge pull request #597 from aofei/build
...
build: fix `sigsetjmp` issues and ensure required libs on Linux
2024-07-29 11:26:03 +08:00
Aofei Sheng
e7d72b6f53
build: fix sigsetjmp issues and ensure required libs on Linux
...
1. Handle `sigsetjmp` platform differences:
- Separate `sigsetjmp` linkage to platform-specific files.
- Use `__sigsetjmp` on Linux to handle `sigsetjmp` being a macro.
- Maintain original implementation for Darwin.
2. Ensure linking of required libs:
- Explicitly link against fundamental libs (e.g., libm, libatomic).
- Address the fact that typical Linux linkers don't link these by
default.
2024-07-29 11:16:04 +08:00
xushiwei
cbd891785e
library: os.Expand
2024-07-29 11:06:33 +08:00
xushiwei
4cd1629118
reflect.Value: Uint fix
2024-07-29 01:26:56 +08:00
xushiwei
708de50887
syscall.forkAndExecInChild fix: os.Fcntl/Dup2 retval
2024-07-29 00:14:01 +08:00
xushiwei
4df478316c
library: fmt.(*pp).doPrint; syscall.forkAndExecInChild
2024-07-29 00:02:30 +08:00
xushiwei
a5dff9fb15
library: os.ProcessState.String
2024-07-28 23:53:22 +08:00
xushiwei
7d045842dd
library: syscall.CloseOnExec
2024-07-28 23:15:20 +08:00
xushiwei
a9ece9e49d
library: os.Pipe
2024-07-28 23:09:21 +08:00
xushiwei
3a8642b1e0
syscall: forkAndExecInChild
2024-07-28 22:27:26 +08:00
xushiwei
09b6b9259c
library: exec.Cmd.environ
2024-07-28 22:22:28 +08:00
xushiwei
907f326788
library: os.File.Close
2024-07-28 22:19:40 +08:00
xushiwei
9edae3e877
Merge pull request #582 from visualfc/init.patch
...
fix pkg init hasPatch && patch io.pipe
2024-07-28 21:13:50 +08:00
xushiwei
54964629fe
runtime.Panic: mv error/Stringer to printany
2024-07-28 20:31:48 +08:00
xushiwei
389750d7d8
ssa: panicBlk (todo)
2024-07-28 18:51:07 +08:00