eunomia-bpf / eunomia-bpf/bpftime

[BUG] LTO seems to remove symbols defined in inline assembly

未关闭
#83 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。