Instead of attempting to handle #[naked] specially, I just changed the code to ignore LLVM's stack usage info as soon as there's any inline assembly in a function. This should be more correct, since LLVM doesn't account for any stack pointer manipulation in inline assembly, but our thumb disassembler does (so the issue could manifest with any code that uses inline assembly).
Fixes https://github.com/japaric/cargo-call-stack/issues/45
Instead of attempting to handle
#[naked]
specially, I just changed the code to ignore LLVM's stack usage info as soon as there's any inline assembly in a function. This should be more correct, since LLVM doesn't account for any stack pointer manipulation in inline assembly, but our thumb disassembler does (so the issue could manifest with any code that uses inline assembly).