eunomia-bpf / eunomia-bpf/bpftime
[BUG] LTO seems to remove symbols defined in inline assembly
未关闭
bug
help wanted
- 主要语言
- C++
- 星标
- 1.6k
- 派生
- 184
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 17
描述
See https://github.com/eunomia-bpf/bpftime/actions/runs/6874766716/job/18697158968
The symbol syscall_addr was defined in inline assembly in text_segment_transformer.cpp
When BPFTIME_ENABLE_LTO was set, a symbol not found error will be raised when trying to use the build products. Seems that when enabling LTO, the symbol was dropped. Find a way to keep the symbol when using LTO
贡献指南
评估
这个 Issue 还没有评估数据。