Commit Graph

3218 Commits

Author SHA1 Message Date
Li Jie
e40bdc196b binary-format supports uf2, nrf-dfu 2025-08-23 17:45:20 +08:00
Li Jie
508b23a584 refine and test internal/crosscompile 2025-08-23 17:45:20 +08:00
Li Jie
b7181592a9 hide unused arguments warnings 2025-08-23 17:45:20 +08:00
Li Jie
59e1df5478 don't collect test coverage of internal/firmware 2025-08-23 17:42:34 +08:00
Li Jie
ecaf7c8ac6 supports binary-format, only esp* supported for now 2025-08-22 21:05:29 +08:00
visualfc
cd69092a60 internal/cabi: fix llvm.alloca for callInsrt 2025-08-22 19:16:06 +08:00
luoliwoshang
f3de14da4b cl/instr:note for why asm not support pointer type: 2025-08-22 16:14:57 +08:00
luoliwoshang
49b9b92790 ci/instr:fix asmFull return type to match function signature when no output 2025-08-22 15:01:59 +08:00
Li Jie
1f193c8533 refine internal/clang: don't depends internal/crosscompile 2025-08-22 09:08:26 +08:00
Li Jie
3ce63965bf refine build.sh and CI 2025-08-22 08:54:55 +08:00
Li Jie
50d8dbee05 fix targets extra files 2025-08-22 08:43:04 +08:00
Li Jie
c8eb871252 report error if extra file not exist 2025-08-22 08:42:29 +08:00
Li Jie
ad8aa6ac1a add __dynamic_loader into targetsbuild for nintendo switch 2025-08-22 08:42:01 +08:00
Li Jie
d3d39876d3 report llvm-target/cpu empty warning in all targets check 2025-08-22 07:41:59 +08:00
Li Jie
44cb4f2649 report error if target cpu is not set 2025-08-22 07:40:52 +08:00
Li Jie
d0f89e456c allow clang unused parameters 2025-08-22 07:40:18 +08:00
Li Jie
90a16e8c90 add handleInterrupt into _demo/targetsbuild 2025-08-22 07:39:18 +08:00
Li Jie
ea6266c79f add _demo/targetsbuld/build-all.sh to check all targets 2025-08-22 07:09:42 +08:00
Li Jie
077f114373 _demo/empty -> _demo/targetsbuild 2025-08-22 07:09:42 +08:00
Li Jie
2508674227 report target error if llvm-target not set 2025-08-22 07:09:38 +08:00
Li Jie
c9c703dfe6 remove duplicated CCFLSGS args 2025-08-22 06:57:20 +08:00
luoliwoshang
d9dc4d5943 cl/instr:move to one asm 2025-08-21 23:44:46 +08:00
luoliwoshang
04f613dd15 cl/test:asmFull error 2025-08-21 23:44:46 +08:00
luoliwoshang
0faef117ca cl/instr:refine register collect 2025-08-21 23:44:46 +08:00
luoliwoshang
f6bc5ac538 cl/instr:regexp compile one time 2025-08-21 23:44:46 +08:00
luoliwoshang
26fb156d6b cl/instr:only permit interger at asmfull 2025-08-21 23:44:46 +08:00
luoliwoshang
d548671b91 test:linux with leaq to confirm asmFull 2025-08-21 23:44:46 +08:00
luoliwoshang
ef1f2bce49 test:linux asmFull function test 2025-08-21 23:44:46 +08:00
luoliwoshang
b428a8af08 test:asmFull function test 2025-08-21 23:44:46 +08:00
luoliwoshang
9dfc6d1d52 ssa:refine asmFull interface 2025-08-21 23:44:46 +08:00
luoliwoshang
6beb50b367 cl/instr:asmFull test case with multiple input & output 2025-08-21 23:44:46 +08:00
luoliwoshang
9e0c50dafe cl/instr:asmFull test case with input only 2025-08-21 23:44:46 +08:00
luoliwoshang
f5d4f93ed7 ssa:inlineAsmFull 2025-08-21 23:44:46 +08:00
luoliwoshang
ae36ef4a0e cl/instr:replace register & build constraints 2025-08-21 23:44:46 +08:00
luoliwoshang
485dbe4021 cl/instr:asm with two situation 2025-08-21 23:44:46 +08:00
Li Jie
2f8f85a404 filter out failed targets in ci 2025-08-21 22:20:46 +08:00
Li Jie
87c50cf22a _demo/empty exports Reset_Handler and handleHardFault (to compatible with tinygo) 2025-08-21 22:18:14 +08:00
Li Jie
6e20a435af targets supports extra-files 2025-08-21 21:55:42 +08:00
Li Jie
2eb7d542d2 targets supports code-model, target-abi, relocation-model 2025-08-21 20:43:43 +08:00
Li Jie
c414add29f update targets tests 2025-08-21 19:51:20 +08:00
Li Jie
372a09d2ca inspired compiler and linker args from tinygo 2025-08-21 18:53:27 +08:00
Li Jie
06568da140 expand template vars in targets config 2025-08-21 18:51:54 +08:00
visualfc
96c7afcf3a build: dev support checkLinkArgs/CheckLLFiles/GenLLFiles 2025-08-21 17:26:20 +08:00
Li Jie
5cfd996659 fix cross compilation tests 2025-08-21 17:16:29 +08:00
Li Jie
21189f378e fix libunwind include path 2025-08-21 17:16:29 +08:00
Li Jie
9a90eaed76 fix ldflags 2025-08-21 17:16:28 +08:00
Li Jie
d8122d14aa fix lld -target 2025-08-21 17:16:28 +08:00
Li Jie
7bf0146e2f add file lock to avoid parallel downloading 2025-08-21 17:16:25 +08:00
Li Jie
93ca632f7a fix rpath for libc++ 2025-08-21 15:38:56 +08:00
Li Jie
49e5963b0a Merge commit '6de3bdcdd9b3959d244e7b3b7e97fc4e3408cd78' into esp-llvm
# Conflicts:
#	internal/build/build.go
2025-08-21 14:19:53 +08:00