This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
The BPF tools report blown stacks but provide no information about how to track down the offenders #13290
Closed
Description
Problem
If a function exceeds the supported stack size LLVM will warn the user but not provide information on what function is the offender.
Background: We've found that in Rust, there are often packages that a program depends on that exceed the stack usage even though the program is not actually using the offending functionality. (or maybe a dependency of a dependency). Instead of halting program compilation LLVM posts a warning.
Proposed Solution
- Provide more useful information about what function/package is blowing the stack.
- Limit the warnings to only the code pulled into the final program.