-
Notifications
You must be signed in to change notification settings - Fork 11
llcppsymg: support users to modify the symbol mapping table in the llcppg.cfg file #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make this pr only aim to support symMap in llcppg.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llcppcfg配置项输出的变化和当前更新无关,不在这个Pr中处理会更合适
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
与当前Pr无关的风格问题,需要去除~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug的修改单独在一个PR中处理,一个Pr还是尽量做一件事
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

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