The state of the Solana development toolchain is a poorly maintained fork of a fork of LLVM. Literally nobody knows how this shit works. When my engineers ask me to debug a stack overflow, I tell them to RNG #[inline(always)] and #[inline(never)] until the warnings disappear.