golang/go
在 GitHub 查看cmd/compile: OpInlMark can get removed by SSA dead code elimination, resulting in invalid inlining trees
Open
#54,625 创建于 2022年8月23日
NeedsFixcompiler/runtimehelp wanted
仓库指标
- Star
- (133,883 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
See discussion at https://github.com/golang/go/issues/46234.
The immediate issue is that https://go.dev/play/p/OikFLBmKguY?v=gotip causes the loop at https://github.com/golang/go/blob/7f632f76db65f28038b8797fbfe5e15a9f63e387/src/runtime/traceback.go#L362 to never terminate, because the inlining "tree" has cycles.
The bigger issue is that we're generating trees like this for kube-apiserver, and this is presumably the root cause of #54593.