arichardson wrote: Are you able to insert a `.cfi_undefined <return_register>` in the generated assembly? That would tell libunwind to stop unwinding and is cleaner than this workaround IMO.
I just noticed a similar problem in FreeBSD's startup files but I plan to fix those in FreeBSD instead of working around them here. https://github.com/llvm/llvm-project/pull/103476 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits