[libunwind] [libunwind] Fix execution flow imbalance when using C++ Exceptions (PR #165066)

Med Ismail Bennani via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 30 13:13:33 PDT 2025


================
@@ -1410,7 +1433,48 @@ void UnwindCursor<A, R>::setFloatReg(int regNum, unw_fpreg_t value) {
 }
 
 template <typename A, typename R> void UnwindCursor<A, R>::jumpto() {
+#ifdef _LIBUNWIND_TRACE_RET_INJECT
+  // clang-format off
----------------
medismailben wrote:

Are you saying I should ignore the formatting PR testing job ? If I don't disable formatting here, it breaks the backtrace view. I felt since this is just a comment, we could disable formatting here.

https://github.com/llvm/llvm-project/pull/165066


More information about the cfe-commits mailing list