[libunwind] [libunwind][test] Avoid calling back into libunwind on sanitizer errors (PR #67861)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 12:56:26 PDT 2023


https://github.com/ldionne requested changes to this pull request.

> The underlying issues is fixed in https://github.com/llvm/llvm-project/pull/67860 but if we ever introduce an new MSan error inside libunwind we will see the same infinite recursion because MSan diagnotics try to print a stacktrace using libunwind (calling __unw_getcontext again).

Got it, I think this makes sense then, but I don't think the current implementation is really ideal -- let's see what you think about my suggestion.

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


More information about the cfe-commits mailing list