efriedma-quic wrote: Not every inline asm, only inline asm statements that specifically have an "unwind" clobber (or in Rust, may_unwind). Which is pretty rare, in practice: I've never seen anyone use it in clang, and it isn't even available on stable in Rust.
Accurately detecting whether the last instruction of an inline asm block is a call would require an assembler directive which would be extremely nasty to implement correctly, because it interacts with other assembler features like alignment directives. https://github.com/llvm/llvm-project/pull/144745 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits