llcppsymg: support users to modify the symbol mapping table in the llcppg.cfg file#232
llcppsymg: support users to modify the symbol mapping table in the llcppg.cfg file#232tsingbx wants to merge 19 commits intogoplus:mainfrom
Conversation
bddf395 to
8628ac6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #232 +/- ##
==========================================
- Coverage 78.85% 77.07% -1.79%
==========================================
Files 31 31
Lines 2941 2970 +29
==========================================
- Hits 2319 2289 -30
- Misses 604 649 +45
- Partials 18 32 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
878ecc7 to
b4c9fb1
Compare
go.mod
Outdated
| github.com/google/go-cmp v0.6.0 | ||
| github.com/goplus/gogen v1.16.4 | ||
| github.com/goplus/llgo v0.10.0 | ||
| github.com/goplus/llgo v0.10.1 |
There was a problem hiding this comment.
| github.com/goplus/llgo v0.10.1 | |
| github.com/goplus/llgo v0.10.0 |
can resolve this fail https://github.com/goplus/llcppg/actions/runs/14370680609/job/40294196011?pr=232
|
|
||
| - name: Install LLGO | ||
| run: | | ||
| git clone --branch v0.10.0 https://github.com/goplus/llgo.git | ||
| git clone --branch v0.10.1 https://github.com/goplus/llgo.git | ||
| echo $PWD | ||
| cd llgo/compiler | ||
| go install -v ./cmd/... |
There was a problem hiding this comment.
make this pr only aim to support symMap in llcppg.
There was a problem hiding this comment.
llcppcfg配置项输出的变化和当前更新无关,不在这个Pr中处理会更合适
There was a problem hiding this comment.
1a3f68d to
0c9ab60
Compare
|
https://github.com/goplus/llcppg/actions/runs/14373401804/job/40300524017?pr=232 这个pr ci fail 提示了当前的实现会让实际的产物缺少某个类型,可以检查一下llcppsymg在sqlite3下是否能输出包含以下内容的出 llcppg.symb.json |
eeb9bab to
c760784
Compare
| package main | ||
|
|
||
| import ( | ||
| "cjson" | ||
| "unsafe" | ||
|
|
||
| "cjson" | ||
|
|
||
| "github.com/goplus/llgo/c" | ||
| ) | ||
|
|
There was a problem hiding this comment.
debug的修改单独在一个PR中处理,一个Pr还是尽量做一件事
There was a problem hiding this comment.

The llcppg.cfg file adds the symMap field to support users to modify the symbol mapping table in the llcppg.cfg file