https://github.com/ojhunt requested changes to this pull request.
Rather than special casing these I feel like we should have at least `EmitTrapCall()` automatically plant the unreachable if the requested intrinsic is a no return/no throw (and attach the various no throw, etc flags if they do need to be set directly on the call). That would also catch the verbose traps, etc. Honestly if we're doing this in debug builds I'd almost just have EmitCall plant a trap + unreachable after noreturn functions. https://github.com/llvm/llvm-project/pull/197789 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
