================ @@ -30,6 +30,14 @@ extern int __unw_get_reg(unw_cursor_t *, unw_regnum_t, unw_word_t *); extern int __unw_get_fpreg(unw_cursor_t *, unw_regnum_t, unw_fpreg_t *); extern int __unw_set_reg(unw_cursor_t *, unw_regnum_t, unw_word_t); extern int __unw_set_fpreg(unw_cursor_t *, unw_regnum_t, unw_fpreg_t); +#ifdef _LIBUNWIND_TRACE_RET_INJECT +__attribute__((noinline, disable_tail_calls)) ---------------- ojhunt wrote:
rather than duplicating this ifdef pair, define an attribute macro once, something `_LIBUNWIND_TRACE_FN` -- I'm terrible at naming, please don't just use this name verbatim. Possibly ping @ldionne to see if he has an opinion https://github.com/llvm/llvm-project/pull/165066 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
